summaryrefslogtreecommitdiff
path: root/src/radeon_driver.c
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2006-06-29 18:21:22 +0200
committerMichel Dänzer <michel@tungstengraphics.com>2006-06-29 18:21:22 +0200
commit9c4a1e3300d30b23806988aa9328fc6ef92e2663 (patch)
treeb0efd9be883d422c2cd8b90188df10823a76c79b /src/radeon_driver.c
parentee0544b670567491b7770f469a64a6cd85519ba1 (diff)
Fix build for !defined(USE_EXA).
Diffstat (limited to 'src/radeon_driver.c')
-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