Lines Matching refs:amdinfo

97 		       struct amdgpu_gpu_info *amdinfo)  in ac_query_gpu_info()  argument
121 r = amdgpu_query_gpu_info(dev, amdinfo); in ac_query_gpu_info()
238 info->pci_id = amdinfo->asic_id; /* TODO: is this correct? */ in ac_query_gpu_info()
239 info->vce_harvest_config = amdinfo->vce_harvest_config; in ac_query_gpu_info()
266 !(amdinfo->ids_flags & AMDGPU_IDS_FLAGS_FUSION); in ac_query_gpu_info()
277 info->max_shader_clock = amdinfo->max_engine_clk / 1000; in ac_query_gpu_info()
278 info->max_se = amdinfo->num_shader_engines; in ac_query_gpu_info()
279 info->max_sh_per_se = amdinfo->num_shader_arrays_per_engine; in ac_query_gpu_info()
291 info->num_render_backends = amdinfo->rb_pipes; in ac_query_gpu_info()
292 info->clock_crystal_freq = amdinfo->gpu_counter_freq; in ac_query_gpu_info()
299 info->num_tile_pipes = 1 << G_0098F8_NUM_PIPES(amdinfo->gb_addr_cfg); in ac_query_gpu_info()
301 256 << G_0098F8_PIPE_INTERLEAVE_SIZE_GFX9(amdinfo->gb_addr_cfg); in ac_query_gpu_info()
303 info->num_tile_pipes = cik_get_num_tile_pipes(amdinfo); in ac_query_gpu_info()
305 256 << G_0098F8_PIPE_INTERLEAVE_SIZE_GFX6(amdinfo->gb_addr_cfg); in ac_query_gpu_info()
320 util_bitcount(amdinfo->cu_bitmap[i][j]); in ac_query_gpu_info()
322 memcpy(info->si_tile_mode_array, amdinfo->gb_tile_mode, in ac_query_gpu_info()
323 sizeof(amdinfo->gb_tile_mode)); in ac_query_gpu_info()
324 info->enabled_rb_mask = amdinfo->enabled_rb_pipes_mask; in ac_query_gpu_info()
326 memcpy(info->cik_macrotile_mode_array, amdinfo->gb_macro_tile_mode, in ac_query_gpu_info()
327 sizeof(amdinfo->gb_macro_tile_mode)); in ac_query_gpu_info()