summaryrefslogtreecommitdiff
path: root/src/mga_exa.c
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@code-monkey.de>2006-08-26 22:33:25 +0200
committerTilman Sauerbeck <tilman@code-monkey.de>2006-08-26 22:33:25 +0200
commite7ba7c993f4e439672810ec9ce3a24df823051a4 (patch)
tree9051a58f1daa195eabe6d3556e477c55b5fbb03d /src/mga_exa.c
parent6c365757891c3e0e0a55c7bea995ef8a4fb3f69c (diff)
Enable composite hooks on G400 or greater.
Diffstat (limited to 'src/mga_exa.c')
-rw-r--r--src/mga_exa.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mga_exa.c b/src/mga_exa.c
index cfc54bb..c3e8e02 100644
--- a/src/mga_exa.c
+++ b/src/mga_exa.c
@@ -44,6 +44,8 @@
#include "mga_dri.h"
#endif
+#include "xf86PciInfo.h"
+
#if 0
#define DEBUG_MSG(x) ErrorF x
#else
@@ -771,10 +773,7 @@ mgaExaInit(ScreenPtr pScreen)
pExa->Copy = mgaCopy;
pExa->DoneCopy = mgaNoopDone;
- /* FIXME
- * if (pMga->Chipset >= PCI_CHIP_MGAG400) {
- */
- if (0) {
+ if (pMga->Chipset >= PCI_CHIP_MGAG400) {
pExa->CheckComposite = mgaCheckComposite;
pExa->PrepareComposite = mgaPrepareComposite;
pExa->Composite = mgaComposite;