aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2020-04-23 00:31:36 -0400
committerMarge Bot <[email protected]>2020-04-29 14:53:25 +0000
commit25d3cc293e9e4b21a965fe086537a4b448424bd8 (patch)
tree3c29d91ae92d35e6a22e0979906b08dc84083077 /src/gallium/winsys
parent298e247776309b4444b4c3ac26872fc1f694568c (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/winsys')
-rw-r--r--src/gallium/winsys/radeon/drm/radeon_drm_surface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_surface.c b/src/gallium/winsys/radeon/drm/radeon_drm_surface.c
index 41d4bc15a00..6c2119d32b6 100644
--- a/src/gallium/winsys/radeon/drm/radeon_drm_surface.c
+++ b/src/gallium/winsys/radeon/drm/radeon_drm_surface.c
@@ -217,7 +217,7 @@ static void surf_drm_to_winsys(struct radeon_drm_winsys *ws,
set_micro_tile_mode(surf_ws, &ws->info);
surf_ws->is_displayable = surf_ws->is_linear ||
surf_ws->micro_tile_mode == RADEON_MICRO_MODE_DISPLAY ||
- surf_ws->micro_tile_mode == RADEON_MICRO_MODE_ROTATED;
+ surf_ws->micro_tile_mode == RADEON_MICRO_MODE_RENDER;
}
static void si_compute_cmask(const struct radeon_info *info,