summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/radeon_driver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index 1cd16959..149cb2e9 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -6380,6 +6380,7 @@ static void RADEONAdjustMemMapRegisters(ScrnInfoPtr pScrn, RADEONSavePtr save)
RADEONRestoreMemMapRegisters(pScrn, save);
}
+#ifdef USE_EXA
if (info->accelDFS)
{
drmRadeonGetParam gp;
@@ -6399,6 +6400,7 @@ static void RADEONAdjustMemMapRegisters(ScrnInfoPtr pScrn, RADEONSavePtr save)
info->gartLocation = gart_base;
}
}
+#endif /* USE_EXA */
}
#endif