summaryrefslogtreecommitdiff
path: root/src/mga_exa.c
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@code-monkey.de>2006-09-07 18:24:08 +0200
committerTilman Sauerbeck <tilman@code-monkey.de>2006-09-07 18:24:08 +0200
commitc39749d6e0e967cd12bcc629c3840905e07dd60c (patch)
tree8683e70ba0f0c1305ca2eeb395beabdfb84f4e52 /src/mga_exa.c
parent0ee922bb4cce012c980c5d6178fe04e86c5cce53 (diff)
Enable composite hooks on G400/G450 only.
The PCI-IDs aren't ordered, so using ">=" there was totally broken. I don't know whether the code works on G550 either, so I'm not enabling it on these cards yet.
Diffstat (limited to 'src/mga_exa.c')
-rw-r--r--src/mga_exa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mga_exa.c b/src/mga_exa.c
index 751e3fa..460226d 100644
--- a/src/mga_exa.c
+++ b/src/mga_exa.c
@@ -801,7 +801,7 @@ mgaExaInit(ScreenPtr pScreen)
pExa->Copy = mgaCopy;
pExa->DoneCopy = mgaNoopDone;
- if (pMga->Chipset >= PCI_CHIP_MGAG400) {
+ if (pMga->Chipset == PCI_CHIP_MGAG400) {
pExa->CheckComposite = mgaCheckComposite;
pExa->PrepareComposite = mgaPrepareComposite;
pExa->Composite = mgaComposite;