From a0776b675a4a62d972d135508079950b8adbfe28 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Mon, 19 Dec 2011 17:22:53 -0500 Subject: Fall back to shadowfb if XAA is unavailable Signed-off-by: Adam Jackson --- src/savage_driver.c | 8 ++++---- 1 file 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; } } } -- cgit v1.2.3