summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2011-12-19 17:22:53 -0500
committerAdam Jackson <ajax@redhat.com>2011-12-19 17:23:51 -0500
commita0776b675a4a62d972d135508079950b8adbfe28 (patch)
treec56fcc471662692bad862e7b08da5e03dfdf0699
parent4618374e37674345303b5b44474195def65bba2a (diff)
Fall back to shadowfb if XAA is unavailable
Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r--src/savage_driver.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/savage_driver.c b/src/savage_driver.c
index 2b47c1d..b1734e3 100644
--- a/src/savage_driver.c
+++ b/src/savage_driver.c
@@ -2163,10 +2163,10 @@ static Bool SavagePreInit(ScrnInfoPtr pScrn, int flags)
} else {
modName = "xaa";
if( !xf86LoadSubModule(pScrn, modName) ) {
- SavageFreeRec(pScrn);
- vbeFree(psav->pVbe);
- psav->pVbe = NULL;
- return FALSE;
+ xf86DrvMsg(pScrn->scrnIndex, X_INFO,
+ "Falling back to shadowfb\n");
+ psav->NoAccel = 1;
+ psav->shadowFB = 1;
}
}
}