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.c146 struct amdgpu_gpu_info *amdinfo) in has_tmz_support() argument
152 if (amdinfo->ids_flags & AMDGPU_IDS_FLAGS_TMZ) in has_tmz_support()
179 struct amdgpu_gpu_info *amdinfo) in ac_query_gpu_info() argument
208 r = amdgpu_query_gpu_info(dev, amdinfo); in ac_query_gpu_info()
379 info->pci_id = amdinfo->asic_id; /* TODO: is this correct? */ in ac_query_gpu_info()
380 info->pci_rev_id = amdinfo->pci_rev_id; in ac_query_gpu_info()
381 info->vce_harvest_config = amdinfo->vce_harvest_config; in ac_query_gpu_info()
384 if (ASICREV_IS(amdinfo->chip_external_rev, asic)) { \ in ac_query_gpu_info()
390 switch (amdinfo->family_id) { in ac_query_gpu_info()
447 amdinfo->family_id, amdinfo->chip_external_rev); in ac_query_gpu_info()
[all …]
Dac_gpu_info.h205 struct amdgpu_gpu_info *amdinfo);
Dac_surface.h292 const struct amdgpu_gpu_info *amdinfo,
Dac_surface.c341 const struct amdgpu_gpu_info *amdinfo, uint64_t *max_alignment) in ac_addrlib_create() argument
353 regValue.gbAddrConfig = amdinfo->gb_addr_cfg; in ac_addrlib_create()
365 regValue.noOfBanks = amdinfo->mc_arb_ramcfg & 0x3; in ac_addrlib_create()
366 regValue.noOfRanks = (amdinfo->mc_arb_ramcfg & 0x4) >> 2; in ac_addrlib_create()
368 regValue.backendDisables = amdinfo->enabled_rb_pipes_mask; in ac_addrlib_create()
369 regValue.pTileConfig = amdinfo->gb_tile_mode; in ac_addrlib_create()
370 regValue.noOfEntries = ARRAY_SIZE(amdinfo->gb_tile_mode); in ac_addrlib_create()
375 regValue.pMacroTileConfig = amdinfo->gb_macro_tile_mode; in ac_addrlib_create()
376 regValue.noOfMacroEntries = ARRAY_SIZE(amdinfo->gb_macro_tile_mode); in ac_addrlib_create()
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_winsys.h43 struct amdgpu_gpu_info amdinfo; member
Dradv_amdgpu_winsys.c45 if (!ac_query_gpu_info(fd, ws->dev, &ws->info, &ws->amdinfo)) in do_winsys_init()
64 ws->addrlib = ac_addrlib_create(&ws->info, &ws->amdinfo, &ws->info.max_alignment); in do_winsys_init()
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_winsys.h81 struct amdgpu_gpu_info amdinfo; member
Damdgpu_winsys.c94 if (!ac_query_gpu_info(fd, ws->dev, &ws->info, &ws->amdinfo)) in do_winsys_init()
103 ws->addrlib = ac_addrlib_create(&ws->info, &ws->amdinfo, &ws->info.max_alignment); in do_winsys_init()