diff options
author | Marek Olšák <[email protected]> | 2020-04-23 00:31:36 -0400 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-04-29 14:53:25 +0000 |
commit | 25d3cc293e9e4b21a965fe086537a4b448424bd8 (patch) | |
tree | 3c29d91ae92d35e6a22e0979906b08dc84083077 /src/gallium/drivers | |
parent | 298e247776309b4444b4c3ac26872fc1f694568c (diff) |
ac/surface: rename micro tile mode enums like gfx10 uses them
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4697>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_clear.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gallium/drivers/radeonsi/si_clear.c b/src/gallium/drivers/radeonsi/si_clear.c index 1e7aa443222..8c89c9be199 100644 --- a/src/gallium/drivers/radeonsi/si_clear.c +++ b/src/gallium/drivers/radeonsi/si_clear.c @@ -297,11 +297,11 @@ static void si_set_optimal_micro_tile_mode(struct si_screen *sscreen, struct si_ tex->surface.u.gfx9.surf.swizzle_mode &= ~0x3; tex->surface.u.gfx9.surf.swizzle_mode += 2; /* D */ break; - case RADEON_MICRO_MODE_THIN: + case RADEON_MICRO_MODE_STANDARD: tex->surface.u.gfx9.surf.swizzle_mode &= ~0x3; tex->surface.u.gfx9.surf.swizzle_mode += 1; /* S */ break; - case RADEON_MICRO_MODE_ROTATED: + case RADEON_MICRO_MODE_RENDER: tex->surface.u.gfx9.surf.swizzle_mode &= ~0x3; tex->surface.u.gfx9.surf.swizzle_mode += 3; /* R */ break; @@ -318,10 +318,10 @@ static void si_set_optimal_micro_tile_mode(struct si_screen *sscreen, struct si_ case RADEON_MICRO_MODE_DISPLAY: tex->surface.u.legacy.tiling_index[0] = 10; break; - case RADEON_MICRO_MODE_THIN: + case RADEON_MICRO_MODE_STANDARD: tex->surface.u.legacy.tiling_index[0] = 14; break; - case RADEON_MICRO_MODE_ROTATED: + case RADEON_MICRO_MODE_RENDER: tex->surface.u.legacy.tiling_index[0] = 28; break; default: /* depth, thick */ @@ -343,7 +343,7 @@ static void si_set_optimal_micro_tile_mode(struct si_screen *sscreen, struct si_ break; } break; - case RADEON_MICRO_MODE_THIN: + case RADEON_MICRO_MODE_STANDARD: switch (tex->surface.bpe) { case 1: tex->surface.u.legacy.tiling_index[0] = 14; |