summaryrefslogtreecommitdiff
path: root/src/drmmode_display.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2011-02-01 19:24:44 -0500
committerAlex Deucher <alexdeucher@gmail.com>2011-02-01 19:24:44 -0500
commitef9bfb262db7004bef3704e5d914687e50d3fca4 (patch)
tree51700e58445c23afc429e54eddca93a33b81c070 /src/drmmode_display.c
parentbb16dd77321e5a64a3cb2d2ca9982117799ac1a8 (diff)
kms/pre-6xx: fix pageflipping with tiling
Use UTS/DFS to tile/untile as appropriate for sw access on pre-6xx. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=33738 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Diffstat (limited to 'src/drmmode_display.c')
-rw-r--r--src/drmmode_display.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index 2ab4510c..d5ad211a 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -1232,8 +1232,7 @@ drmmode_xf86crtc_resize (ScrnInfoPtr scrn, int width, int height)
}
#endif
if (tiling_flags)
- radeon_bo_set_tiling(info->front_bo,
- tiling_flags | RADEON_TILING_SURFACE, pitch);
+ radeon_bo_set_tiling(info->front_bo, tiling_flags, pitch);
ret = drmModeAddFB(drmmode->fd, width, height, scrn->depth,
scrn->bitsPerPixel, pitch,