Default to EXA acceleration.
This commit is contained in:
parent
04a5ce6247
commit
0e6332496b
@ -2004,12 +2004,14 @@ MGAPreInit(ScrnInfoPtr pScrn, int flags)
|
|||||||
char *s = xf86GetOptValString(pMga->Options, OPTION_ACCELMETHOD);
|
char *s = xf86GetOptValString(pMga->Options, OPTION_ACCELMETHOD);
|
||||||
#endif
|
#endif
|
||||||
pMga->NoAccel = FALSE;
|
pMga->NoAccel = FALSE;
|
||||||
pMga->Exa = FALSE;
|
|
||||||
#ifdef USE_EXA
|
#ifdef USE_EXA
|
||||||
if (!xf86NameCmp(s, "EXA")) {
|
|
||||||
pMga->Exa = TRUE;
|
pMga->Exa = TRUE;
|
||||||
|
if (!xf86NameCmp(s, "XAA")) {
|
||||||
|
pMga->Exa = FALSE;
|
||||||
from = X_CONFIG;
|
from = X_CONFIG;
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
pMga->Exa = FALSE;
|
||||||
#endif
|
#endif
|
||||||
xf86DrvMsg(pScrn->scrnIndex, from, "Using %s acceleration\n",
|
xf86DrvMsg(pScrn->scrnIndex, from, "Using %s acceleration\n",
|
||||||
pMga->Exa ? "EXA" : "XAA");
|
pMga->Exa ? "EXA" : "XAA");
|
||||||
|
Loading…
Reference in New Issue
Block a user