diff options
author | Adam Jackson <ajax@redhat.com> | 2011-12-19 17:22:53 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2011-12-19 17:23:51 -0500 |
commit | a0776b675a4a62d972d135508079950b8adbfe28 (patch) | |
tree | c56fcc471662692bad862e7b08da5e03dfdf0699 /src/savage_driver.c | |
parent | 4618374e37674345303b5b44474195def65bba2a (diff) |
Fall back to shadowfb if XAA is unavailable
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'src/savage_driver.c')
-rw-r--r-- | src/savage_driver.c | 8 |
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; } } } |