summaryrefslogtreecommitdiff
path: root/src/radeon_kms.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/radeon_kms.c')
-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);