Home
last modified time | relevance | path

Searched refs:pcache_info (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/
Dkfd_crat.c1336 struct kfd_gpu_cache_info *pcache_info) in kfd_fill_gpu_cache_info_from_gfx_config() argument
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[i].cache_size = adev->gfx.config.gc_l1_data_cache_size_per_sqc; in kfd_fill_gpu_cache_info_from_gfx_config()
[all …]
Dkfd_topology.c1540 struct kfd_gpu_cache_info *pcache_info, in fill_in_l1_pcache() argument
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() argument
1616 ((1 << pcache_info[cache_type].num_cu_shared) - 1); in fill_in_l2_l3_pcache()
[all …]
Dkfd_crat.h312 int kfd_get_gpu_cache_info(struct kfd_node *kdev, struct kfd_gpu_cache_info **pcache_info);