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.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/radeon_kms.c b/src/radeon_kms.c
index 32065fb9..e4706176 100644
--- a/src/radeon_kms.c
+++ b/src/radeon_kms.c
@@ -677,8 +677,13 @@ Bool RADEONPreInit_KMS(ScrnInfoPtr pScrn, int flags)
#ifdef EXA_MIXED_PIXMAPS
/* don't enable tiling if accel is not enabled */
if (!info->r600_shadow_fb) {
- Bool colorTilingDefault = info->ChipFamily >= CHIP_FAMILY_R300 &&
+ Bool colorTilingDefault =
+#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,9,4,901,0)
+ info->ChipFamily >= CHIP_FAMILY_R300 &&
info->ChipFamily <= CHIP_FAMILY_CAYMAN;
+#else
+ FALSE;
+#endif
if (info->ChipFamily >= CHIP_FAMILY_R600) {
/* set default group bytes, overridden by kernel info below */