Searched refs:pcache_info (Results 1 – 3 of 3) sorted by relevance
1444 struct kfd_gpu_cache_info *pcache_info) in kfd_fill_gpu_cache_info_from_gfx_config() argument1451 pcache_info[i].cache_size = adev->gfx.config.gc_tcp_l1_size; in kfd_fill_gpu_cache_info_from_gfx_config()1452 pcache_info[i].cache_level = 1; in kfd_fill_gpu_cache_info_from_gfx_config()1453 pcache_info[i].flags = (CRAT_CACHE_FLAGS_ENABLED | in kfd_fill_gpu_cache_info_from_gfx_config()1456 pcache_info[i].num_cu_shared = adev->gfx.config.gc_num_tcp_per_wpg / 2; in kfd_fill_gpu_cache_info_from_gfx_config()1457 pcache_info[i].cache_line_size = adev->gfx.config.gc_tcp_cache_line_size; in kfd_fill_gpu_cache_info_from_gfx_config()1458 if (cache_line_size_missing && !pcache_info[i].cache_line_size) in kfd_fill_gpu_cache_info_from_gfx_config()1459 pcache_info[i].cache_line_size = 128; in kfd_fill_gpu_cache_info_from_gfx_config()1464 pcache_info[i].cache_size = in kfd_fill_gpu_cache_info_from_gfx_config()1466 pcache_info[i].cache_level = 1; in kfd_fill_gpu_cache_info_from_gfx_config()[all …]
311 int kfd_get_gpu_cache_info(struct kfd_node *kdev, struct kfd_gpu_cache_info **pcache_info);
10 #define pcache_info(fmt, ...) \ macro