mirror of
https://github.com/X11Libre/xf86-video-sis.git
synced 2026-03-24 01:25:01 +00:00
Fall back to shadowfb if XAA is unavailable
Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
@@ -6858,8 +6858,10 @@ SISPreInit(ScrnInfoPtr pScrn, int flags)
|
||||
#ifdef SIS_USE_XAA
|
||||
if(!pSiS->useEXA) {
|
||||
if (!xf86LoadSubModule(pScrn, "xaa")) {
|
||||
SISErrorLog(pScrn, "Could not load xaa module\n");
|
||||
goto my_error_1;
|
||||
xf86DrvMsg(pScrn->scrnIndex, X_INFO,
|
||||
"Falling back to shadowfb\n");
|
||||
pSiS->NoAccel = 1;
|
||||
pSiS->ShadowFB = 1;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@@ -6878,7 +6880,6 @@ SISPreInit(ScrnInfoPtr pScrn, int flags)
|
||||
}
|
||||
}
|
||||
#endif
|
||||
xf86DrvMsg(pScrn->scrnIndex, X_INFO, "2D acceleration enabled\n");
|
||||
}
|
||||
|
||||
/* Load shadowfb (if needed) */
|
||||
|
||||
Reference in New Issue
Block a user