mirror of
https://github.com/X11Libre/xf86-video-cirrus.git
synced 2026-03-24 01:24:45 +00:00
Fall back to shadowfb if XAA is unavailable
Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
@@ -1093,8 +1093,10 @@ AlpPreInit(ScrnInfoPtr pScrn, int flags)
|
||||
/* Load XAA if needed */
|
||||
if (!pCir->NoAccel) {
|
||||
if (!xf86LoadSubModule(pScrn, "xaa")) {
|
||||
AlpFreeRec(pScrn);
|
||||
return FALSE;
|
||||
xf86DrvMsg(pScrn->scrnIndex, X_INFO,
|
||||
"Falling back to shadowfb\n");
|
||||
pCir->NoAccel = TRUE;
|
||||
pCir->shadowFB = TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -800,8 +800,10 @@ LgPreInit(ScrnInfoPtr pScrn, int flags)
|
||||
/* Load XAA if needed */
|
||||
if (!pCir->NoAccel) {
|
||||
if (!xf86LoadSubModule(pScrn, "xaa")) {
|
||||
LgFreeRec(pScrn);
|
||||
return FALSE;
|
||||
xf86DrvMsg(pScrn->scrnInfo, X_INFO,
|
||||
"Falling back to shadowfb\n");
|
||||
pCir->NoAccel = TRUE;
|
||||
pCir->shadowFB = TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user