Commit 31544d80 authored by Mikulas Patocka's avatar Mikulas Patocka Committed by Matt Turner

mga_drv: use exa by default

If the Xserver doesn't support XAA, we must turn EXA on by default -
otherwise we end up with no acceleration at all.
Reviewed-by: Matt Turner's avatarMatt Turner <mattst88@gmail.com>
Signed-off-by: 's avatarMikulas Patocka <mikulas@twibright.com>
parent 97c801e4
......@@ -1971,6 +1971,9 @@ MGAPreInit(ScrnInfoPtr pScrn, int flags)
pMga->NoAccel = FALSE;
pMga->Exa = FALSE;
#ifdef USE_EXA
#ifndef HAVE_XAA_H
pMga->Exa = TRUE;
#endif
if (!xf86NameCmp(s, "EXA")) {
pMga->Exa = TRUE;
from = X_CONFIG;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment