Fall back to shadowfb if XAA is unavailable

Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
Adam Jackson
2011-12-19 17:42:06 -05:00
parent c348d847a3
commit 67a628afd1

View File

@@ -3986,14 +3986,8 @@ XGIPreInit(ScrnInfoPtr pScrn, int flags)
if (!xf86LoadSubModule(pScrn, "xaa")) {
XGIErrorLog(pScrn, "Could not load xaa module\n");
if (pXGIEnt)
pXGIEnt->ErrorAfterFirst = TRUE;
if (pXGI->pInt)
xf86FreeInt10(pXGI->pInt);
xgiRestoreExtRegisterLock(pXGI, srlockReg, crlockReg);
XGIFreeRec(pScrn);
return FALSE;
pXGI->NoAccel = TRUE;
pXGI->ShadowFB = TRUE;
}
}
#endif