summaryrefslogtreecommitdiff
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2021-02-04 00:50:32 -0500
committerMarge Bot <eric+marge@anholt.net>2021-02-13 04:56:05 +0000
commit4ccf664f0568c1ae9868d53e1206d1a6b4445846 (patch)
tree8cbec925b19ced5496f17cbdd0e8757fda5828bc /src/gallium/winsys
parent70995133804091f9c9323da401faf81f98f26c4c (diff)
ac/gpu_info: rename num_tcc_blocks -> max_tcc_blocks
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8892>
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r--src/gallium/winsys/radeon/drm/radeon_drm_winsys.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
index 842604b8593..a720345c8a2 100644
--- a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
+++ b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
@@ -491,25 +491,25 @@ static bool do_winsys_init(struct radeon_drm_winsys *ws)
switch (ws->info.family) {
case CHIP_HAINAN:
case CHIP_KABINI:
- ws->info.num_tcc_blocks = 2;
+ ws->info.max_tcc_blocks = 2;
break;
case CHIP_VERDE:
case CHIP_OLAND:
case CHIP_BONAIRE:
case CHIP_KAVERI:
- ws->info.num_tcc_blocks = 4;
+ ws->info.max_tcc_blocks = 4;
break;
case CHIP_PITCAIRN:
- ws->info.num_tcc_blocks = 8;
+ ws->info.max_tcc_blocks = 8;
break;
case CHIP_TAHITI:
- ws->info.num_tcc_blocks = 12;
+ ws->info.max_tcc_blocks = 12;
break;
case CHIP_HAWAII:
- ws->info.num_tcc_blocks = 16;
+ ws->info.max_tcc_blocks = 16;
break;
default:
- ws->info.num_tcc_blocks = 0;
+ ws->info.max_tcc_blocks = 0;
break;
}