diff options
author | Jesse Barnes <jesse.barnes@intel.com> | 2007-11-08 18:13:47 -0800 |
---|---|---|
committer | Jesse Barnes <jesse.barnes@intel.com> | 2007-11-08 18:13:47 -0800 |
commit | cb4e5796f0537ea5e0e646d473930c7b826c85d8 (patch) | |
tree | 5d673e04be0aa342fdf3e42b1e5749354607621c | |
parent | 43a59ab26b09fcc24de1ed7bd770bb622f899ceb (diff) |
Default to EXA
If EXA is compiled into the driver, default to using it for acceleration.
Hopefully we can remove XAA entirely one day.
-rw-r--r-- | src/i830_driver.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c index e8fe3b4d..eacaefc1 100644 --- a/src/i830_driver.c +++ b/src/i830_driver.c @@ -1430,17 +1430,17 @@ I830PreInit(ScrnInfoPtr pScrn, int flags) * 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 - * config option AccelMethod to determine which to use, defaulting to XAA + * config option AccelMethod to determine which to use, defaulting to EXA * if none is specified, or if the string was unrecognized. * * All this *could* go away if we removed XAA support from this driver, * for example. :) */ if (!pI830->noAccel) { -#if (defined(I830_USE_EXA) && defined(I830_USE_XAA)) || !defined(I830_USE_EXA) - pI830->useEXA = FALSE; -#else +#ifdef I830_USE_EXA pI830->useEXA = TRUE; +#else + pI830->useEXA = FALSE; #endif #if defined(I830_USE_XAA) && defined(I830_USE_EXA) int from = X_DEFAULT; |