summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2011-02-11 12:14:55 -0500
committerAlex Deucher <alexdeucher@gmail.com>2011-02-11 12:14:55 -0500
commite5bd99faa3b6629a55168386d5dfa936ee4e97ae (patch)
treeb893263081484da50932cb41b27247e3c5a997cf
parent92ffce1892d24a98d789aad57a4230cadb0c812a (diff)
kms: remove RADEON_TILING_SURFACE flag on front bo
Should have been removed in: ef9bfb262db7004bef3704e5d914687e50d3fca4 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
-rw-r--r--src/radeon_kms.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/radeon_kms.c b/src/radeon_kms.c
index 4297f6b8..65d62c2d 100644
--- a/src/radeon_kms.c
+++ b/src/radeon_kms.c
@@ -1190,10 +1190,8 @@ static Bool radeon_setup_kernel_mem(ScreenPtr pScreen)
break;
}
#endif
- if (tiling_flags) {
- radeon_bo_set_tiling(info->front_bo,
- tiling_flags | RADEON_TILING_SURFACE, pitch);
- }
+ if (tiling_flags)
+ radeon_bo_set_tiling(info->front_bo, tiling_flags, pitch);
}
xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Front buffer size: %dK\n", info->front_bo->size/1024);