summaryrefslogtreecommitdiff
path: root/src/radeon_accel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/radeon_accel.c')
-rw-r--r--src/radeon_accel.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/radeon_accel.c b/src/radeon_accel.c
index 8fc515d1..1e20e560 100644
--- a/src/radeon_accel.c
+++ b/src/radeon_accel.c
@@ -1072,10 +1072,13 @@ Bool RADEONAccelInit(ScreenPtr pScreen)
if (info->useEXA) {
# ifdef XF86DRI
if (info->directRenderingEnabled) {
+#ifdef XF86DRM_MODE
if (info->ChipFamily >= CHIP_FAMILY_CEDAR) {
if (!EVERGREENDrawInit(pScreen))
return FALSE;
- } else if (info->ChipFamily >= CHIP_FAMILY_R600) {
+ } else
+#endif
+ if (info->ChipFamily >= CHIP_FAMILY_R600) {
if (!R600DrawInit(pScreen))
return FALSE;
} else {