Searched refs:pcache_info (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_crat.c | 1336 struct kfd_gpu_cache_info *pcache_info) in kfd_fill_gpu_cache_info_from_gfx_config() 1343 pcache_info[i].cache_size = adev->gfx.config.gc_tcp_l1_size; in kfd_fill_gpu_cache_info_from_gfx_config() 1344 pcache_info[i].cache_level = 1; in kfd_fill_gpu_cache_info_from_gfx_config() 1345 pcache_info[i].flags = (CRAT_CACHE_FLAGS_ENABLED | in kfd_fill_gpu_cache_info_from_gfx_config() 1348 pcache_info[0].num_cu_shared = adev->gfx.config.gc_num_tcp_per_wpg / 2; in kfd_fill_gpu_cache_info_from_gfx_config() 1353 pcache_info[i].cache_size = in kfd_fill_gpu_cache_info_from_gfx_config() 1355 pcache_info[i].cache_level = 1; in kfd_fill_gpu_cache_info_from_gfx_config() 1356 pcache_info[i].flags = (CRAT_CACHE_FLAGS_ENABLED | in kfd_fill_gpu_cache_info_from_gfx_config() 1359 pcache_info[i].num_cu_shared = adev->gfx.config.gc_num_sqc_per_wgp * 2; in kfd_fill_gpu_cache_info_from_gfx_config() 1364 pcache_info[ in kfd_fill_gpu_cache_info_from_gfx_config() 1335 kfd_fill_gpu_cache_info_from_gfx_config(struct kfd_dev *kdev, struct kfd_gpu_cache_info *pcache_info) kfd_fill_gpu_cache_info_from_gfx_config() argument 1407 kfd_get_gpu_cache_info(struct kfd_node *kdev, struct kfd_gpu_cache_info **pcache_info) kfd_get_gpu_cache_info() argument [all...] |
H A D | kfd_topology.c | 1540 struct kfd_gpu_cache_info *pcache_info, in fill_in_l1_pcache() 1552 cu_sibling_map_mask &= ((1 << pcache_info[cache_type].num_cu_shared) - 1); in fill_in_l1_pcache() 1566 pcache->cache_level = pcache_info[cache_type].cache_level; in fill_in_l1_pcache() 1567 pcache->cache_size = pcache_info[cache_type].cache_size; in fill_in_l1_pcache() 1569 if (pcache_info[cache_type].flags & CRAT_CACHE_FLAGS_DATA_CACHE) in fill_in_l1_pcache() 1571 if (pcache_info[cache_type].flags & CRAT_CACHE_FLAGS_INST_CACHE) in fill_in_l1_pcache() 1573 if (pcache_info[cache_type].flags & CRAT_CACHE_FLAGS_CPU_CACHE) in fill_in_l1_pcache() 1575 if (pcache_info[cache_type].flags & CRAT_CACHE_FLAGS_SIMD_CACHE) in fill_in_l1_pcache() 1602 struct kfd_gpu_cache_info *pcache_info, in fill_in_l2_l3_pcache() 1616 ((1 << pcache_info[cache_typ in fill_in_l2_l3_pcache() 1539 fill_in_l1_pcache(struct kfd_cache_properties **props_ext, struct kfd_gpu_cache_info *pcache_info, struct kfd_cu_info *cu_info, int cu_bitmask, int cache_type, unsigned int cu_processor_id, int cu_block) fill_in_l1_pcache() argument 1601 fill_in_l2_l3_pcache(struct kfd_cache_properties **props_ext, struct kfd_gpu_cache_info *pcache_info, struct kfd_cu_info *cu_info, int cache_type, unsigned int cu_processor_id, struct kfd_node *knode) fill_in_l2_l3_pcache() argument 1677 struct kfd_gpu_cache_info *pcache_info = NULL; kfd_fill_cache_non_crat_info() local [all...] |
H A D | kfd_crat.h | 312 int kfd_get_gpu_cache_info(struct kfd_node *kdev, struct kfd_gpu_cache_info **pcache_info);
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_crat.c | 549 struct kfd_gpu_cache_info *pcache_info, in fill_in_pcache() 566 ((1 << pcache_info[cache_type].num_cu_shared) - 1); in fill_in_pcache() 577 pcache->flags = pcache_info[cache_type].flags; in fill_in_pcache() 580 pcache->cache_level = pcache_info[cache_type].cache_level; in fill_in_pcache() 581 pcache->cache_size = pcache_info[cache_type].cache_size; in fill_in_pcache() 621 struct kfd_gpu_cache_info *pcache_info; in kfd_fill_gpu_cache_info() local 631 pcache_info = kaveri_cache_info; in kfd_fill_gpu_cache_info() 635 pcache_info = hawaii_cache_info; in kfd_fill_gpu_cache_info() 639 pcache_info = carrizo_cache_info; in kfd_fill_gpu_cache_info() 643 pcache_info in kfd_fill_gpu_cache_info() 548 fill_in_pcache(struct crat_subtype_cache *pcache, struct kfd_gpu_cache_info *pcache_info, struct kfd_cu_info *cu_info, int mem_available, int cu_bitmask, int cache_type, unsigned int cu_processor_id, int cu_block) fill_in_pcache() argument [all...] |
Completed in 7 milliseconds