Home
last modified time | relevance | path

Searched refs:amdinfo (Results 1 – 8 of 8) sorted by relevance

/external/mesa3d/src/amd/common/
Dac_gpu_info.c97 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()
[all …]
Dac_surface.c159 const struct amdgpu_gpu_info *amdinfo, in amdgpu_addr_create() argument
172 regValue.gbAddrConfig = amdinfo->gb_addr_cfg; in amdgpu_addr_create()
183 regValue.noOfBanks = amdinfo->mc_arb_ramcfg & 0x3; in amdgpu_addr_create()
184 regValue.noOfRanks = (amdinfo->mc_arb_ramcfg & 0x4) >> 2; in amdgpu_addr_create()
186 regValue.backendDisables = amdinfo->enabled_rb_pipes_mask; in amdgpu_addr_create()
187 regValue.pTileConfig = amdinfo->gb_tile_mode; in amdgpu_addr_create()
188 regValue.noOfEntries = ARRAY_SIZE(amdinfo->gb_tile_mode); in amdgpu_addr_create()
193 regValue.pMacroTileConfig = amdinfo->gb_macro_tile_mode; in amdgpu_addr_create()
194 regValue.noOfMacroEntries = ARRAY_SIZE(amdinfo->gb_macro_tile_mode); in amdgpu_addr_create()
Dac_gpu_info.h115 struct amdgpu_gpu_info *amdinfo);
Dac_surface.h230 const struct amdgpu_gpu_info *amdinfo,
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_winsys.c45 if (!ac_query_gpu_info(fd, ws->dev, &ws->info, &ws->amdinfo)) in do_winsys_init()
55 ws->addrlib = amdgpu_addr_create(&ws->info, &ws->amdinfo, &ws->info.max_alignment); in do_winsys_init()
Dradv_amdgpu_winsys.h42 struct amdgpu_gpu_info amdinfo; member
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_winsys.h76 struct amdgpu_gpu_info amdinfo; member
Damdgpu_winsys.c53 if (!ac_query_gpu_info(fd, ws->dev, &ws->info, &ws->amdinfo)) in do_winsys_init()
63 ws->addrlib = amdgpu_addr_create(&ws->info, &ws->amdinfo, &ws->info.max_alignment); in do_winsys_init()