From ca9718a887ecbc59b76869af673791ab591b849b Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sat, 22 Dec 2012 20:00:00 +1000 Subject: savage: fix default accel arch when built with no XAA Signed-off-by: Dave Airlie --- src/savage_driver.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/savage_driver.c b/src/savage_driver.c index 026bf5c..5b49e60 100644 --- a/src/savage_driver.c +++ b/src/savage_driver.c @@ -1267,6 +1267,7 @@ static Bool SavagePreInit(ScrnInfoPtr pScrn, int flags) from = X_DEFAULT; char *strptr; if((strptr = (char *)xf86GetOptValString(psav->Options, OPTION_ACCELMETHOD))) { +#ifdef HAVE_XAA_H if(!xf86NameCmp(strptr,"XAA")) { from = X_CONFIG; psav->useEXA = FALSE; @@ -1274,6 +1275,9 @@ static Bool SavagePreInit(ScrnInfoPtr pScrn, int flags) from = X_CONFIG; psav->useEXA = TRUE; } +#else + psav->useEXA = TRUE; +#endif } xf86DrvMsg(pScrn->scrnIndex, from, "Using %s acceleration architecture\n", psav->useEXA ? "EXA" : "XAA"); -- cgit v1.2.3