diff options
author | Tilman Sauerbeck <tilman@code-monkey.de> | 2006-08-26 22:33:25 +0200 |
---|---|---|
committer | Tilman Sauerbeck <tilman@code-monkey.de> | 2006-08-26 22:33:25 +0200 |
commit | e7ba7c993f4e439672810ec9ce3a24df823051a4 (patch) | |
tree | 9051a58f1daa195eabe6d3556e477c55b5fbb03d | |
parent | 6c365757891c3e0e0a55c7bea995ef8a4fb3f69c (diff) |
Enable composite hooks on G400 or greater.
-rw-r--r-- | src/mga_exa.c | 7 |
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; |