current git xf86-video-ati doesn't compile with EXA disabled
Frank Gevaerts
frank at gevaerts.be
Tue Jun 27 13:12:56 PDT 2006
Hi,
The current git version of xf86-video-ati doesn't compile with EXA
disabled since commit 79d1c573133e64ddf4446b6bb0eaab4a5a6c73ab
(Implement accelerated EXA DownloadFromScreen hook). The following patch
fixes that:
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index 2381831..acba9b0 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -6376,6 +6376,7 @@ static void RADEONAdjustMemMapRegisters(
RADEONRestoreMemMapRegisters(pScrn, save);
}
+#ifdef USE_EXA
if (info->accelDFS)
{
drmRadeonGetParam gp;
@@ -6395,6 +6396,7 @@ static void RADEONAdjustMemMapRegisters(
info->gartLocation = gart_base;
}
}
+#endif /* USE_EXA */
}
#endif
Frank
--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan
More information about the xorg
mailing list