[PATCH] Add check for 852GM in EXA setup.

JM Ibanez jm at orangeandbronze.com
Tue Apr 17 11:10:37 PDT 2007


When the card happens to be an 852GM, the EXA setup code drops to the
else clause instead of the first block (i830), setting up handlers for
the 9xx series (which the 852GM isn't) -- the X server SIGSEGVs
because of this. This patch adds a check for the 852GM so that it uses
the proper EXA functions.
---
 src/i830_exa.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/i830_exa.c b/src/i830_exa.c
index dfc8f99..260ff00 100644
--- a/src/i830_exa.c
+++ b/src/i830_exa.c
@@ -488,7 +488,7 @@ I830EXAInit(ScreenPtr pScreen)
 
     /* Composite */
     if (IS_I865G(pI830) || IS_I855(pI830) ||
-	       IS_845G(pI830) || IS_I830(pI830))
+        IS_845G(pI830) || IS_I830(pI830) || IS_I852(pI830))
     {
     	pI830->EXADriverPtr->CheckComposite = i830_check_composite;
     	pI830->EXADriverPtr->PrepareComposite = i830_prepare_composite;
-- 
1.5.0.5




More information about the xorg mailing list