Hi,

the current ati driver tries to call RADEONSetupMemEXA(), which in turns
 calls exaDriverAlloc() even if option "NoAccel" is set.

Since in this case the "exa" module is not loaded, this causes a
segfault on the function call.

The attached patch is a crude fix for it, since xaa behaves better wrt
"NoAccel".
-- 
Matthieu Herrb
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index 8a2a978..9a1d4d7 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -2145,6 +2145,9 @@ static Bool RADEONPreInitAccel(ScrnInfoPtr pScrn)
            }
        }
 #endif /* USE_XAA */
+    } else {
+       /* NoAccel */
+       info->useEXA = FALSE;
     }
 
     return TRUE;
_______________________________________________
xorg-devel mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to