Default to XAA acceleration since EXA produces stack overflows for now.

This commit is contained in:
matthieu 2007-12-08 17:53:07 +00:00
parent 3fafd42d87
commit 1b3b2f7d54

View File

@ -1429,17 +1429,17 @@ I830PreInit(ScrnInfoPtr pScrn, int flags)
* If either XAA or EXA (exclusive) is compiled in, default to it. * If either XAA or EXA (exclusive) is compiled in, default to it.
* *
* If both are compiled in, and the user didn't specify noAccel, use the * If both are compiled in, and the user didn't specify noAccel, use the
* config option AccelMethod to determine which to use, defaulting to EXA * config option AccelMethod to determine which to use, defaulting to XAA
* if none is specified, or if the string was unrecognized. * if none is specified, or if the string was unrecognized.
* *
* All this *could* go away if we removed XAA support from this driver, * All this *could* go away if we removed XAA support from this driver,
* for example. :) * for example. :)
*/ */
if (!pI830->noAccel) { if (!pI830->noAccel) {
#ifdef I830_USE_EXA #ifdef I830_USE_XAA
pI830->useEXA = TRUE;
#else
pI830->useEXA = FALSE; pI830->useEXA = FALSE;
#else
pI830->useEXA = TRUE;
#endif #endif
#if defined(I830_USE_XAA) && defined(I830_USE_EXA) #if defined(I830_USE_XAA) && defined(I830_USE_EXA)
int from = X_DEFAULT; int from = X_DEFAULT;