summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@herrb.eu>2014-07-14 11:31:07 +0200
committerMatthieu Herrb <matthieu@herrb.eu>2024-08-02 08:27:16 +0200
commit006b099fb70fce388bf862ca99ae7d8c369f5bd6 (patch)
tree24f854f6b05443167652e8dd397621c2a28d384f
parent78261ea15095e4902fc58fd4bf5fb29b52e294e8 (diff)
Default to EXA acceleration
Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
-rw-r--r--src/mga_driver.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mga_driver.c b/src/mga_driver.c
index 720e98e..85af4c5 100644
--- a/src/mga_driver.c
+++ b/src/mga_driver.c
@@ -1956,13 +1956,14 @@ MGAPreInit(ScrnInfoPtr pScrn, int flags)
const char *s = xf86GetOptValString(pMga->Options, OPTION_ACCELMETHOD);
#endif
pMga->NoAccel = FALSE;
- pMga->Exa = FALSE;
#ifdef USE_EXA
pMga->Exa = TRUE;
if (!xf86NameCmp(s, "EXA")) {
pMga->Exa = TRUE;
from = X_CONFIG;
}
+#else
+ pMga->Exa = FALSE;
#endif
xf86DrvMsg(pScrn->scrnIndex, from, "Using %s acceleration\n",
pMga->Exa ? "EXA" : "no");