diff options
author | Tilman Sauerbeck <tilman@code-monkey.de> | 2006-09-07 18:24:08 +0200 |
---|---|---|
committer | Tilman Sauerbeck <tilman@code-monkey.de> | 2006-09-07 18:24:08 +0200 |
commit | c39749d6e0e967cd12bcc629c3840905e07dd60c (patch) | |
tree | 8683e70ba0f0c1305ca2eeb395beabdfb84f4e52 /src/mga_exa.c | |
parent | 0ee922bb4cce012c980c5d6178fe04e86c5cce53 (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.c | 2 |
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; |