From c39749d6e0e967cd12bcc629c3840905e07dd60c Mon Sep 17 00:00:00 2001 From: Tilman Sauerbeck Date: Thu, 7 Sep 2006 18:24:08 +0200 Subject: 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. --- src/mga_exa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3