mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 23:40:12 +01:00
radv/winsys: rename gpu_info to pci_ids in the null winsys
To avoid a conflict in the next commit. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28500>
This commit is contained in:
parent
ce1c32e358
commit
52663ec80f
1 changed files with 4 additions and 4 deletions
|
|
@ -36,7 +36,7 @@ static const struct {
|
|||
uint32_t pci_id;
|
||||
uint32_t num_render_backends;
|
||||
bool has_dedicated_vram;
|
||||
} gpu_info[] = {
|
||||
} pci_ids[] = {
|
||||
/* clang-format off */
|
||||
[CHIP_TAHITI] = {0x6780, 8, true},
|
||||
[CHIP_PITCAIRN] = {0x6800, 8, true},
|
||||
|
|
@ -110,7 +110,7 @@ radv_null_winsys_query_info(struct radeon_winsys *rws, struct radeon_info *info)
|
|||
abort();
|
||||
}
|
||||
|
||||
info->pci_id = gpu_info[info->family].pci_id;
|
||||
info->pci_id = pci_ids[info->family].pci_id;
|
||||
info->max_se = 4;
|
||||
info->num_se = 4;
|
||||
if (info->gfx_level >= GFX10_3)
|
||||
|
|
@ -144,9 +144,9 @@ radv_null_winsys_query_info(struct radeon_winsys *rws, struct radeon_info *info)
|
|||
: 32 * 1024;
|
||||
info->lds_encode_granularity = info->gfx_level >= GFX7 ? 128 * 4 : 64 * 4;
|
||||
info->lds_alloc_granularity = info->gfx_level >= GFX10_3 ? 256 * 4 : info->lds_encode_granularity;
|
||||
info->max_render_backends = gpu_info[info->family].num_render_backends;
|
||||
info->max_render_backends = pci_ids[info->family].num_render_backends;
|
||||
|
||||
info->has_dedicated_vram = gpu_info[info->family].has_dedicated_vram;
|
||||
info->has_dedicated_vram = pci_ids[info->family].has_dedicated_vram;
|
||||
info->has_packed_math_16bit = info->gfx_level >= GFX9;
|
||||
|
||||
info->has_image_load_dcc_bug = info->family == CHIP_NAVI23 || info->family == CHIP_VANGOGH;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue