diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2011-11-04 12:15:53 +0100 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2011-11-04 12:15:53 +0100 |
commit | 4853ab2cdc3b97948c7cd69eaf4fff54f59774fc (patch) | |
tree | f15626375d71605d7f1c3a26a832f0f473d66372 /src/radeon_kms.c | |
parent | bcdb54fe16ebf2e239b84eebf20e8adfe5094bff (diff) |
Turn compile time check into runtime check.
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Diffstat (limited to 'src/radeon_kms.c')
-rw-r--r-- | src/radeon_kms.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/radeon_kms.c b/src/radeon_kms.c index e4706176..1604f25b 100644 --- a/src/radeon_kms.c +++ b/src/radeon_kms.c @@ -678,12 +678,9 @@ Bool RADEONPreInit_KMS(ScrnInfoPtr pScrn, int flags) /* don't enable tiling if accel is not enabled */ if (!info->r600_shadow_fb) { Bool colorTilingDefault = -#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,9,4,901,0) + xorgGetVersion() >= 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 */ |