mirror of
https://github.com/X11Libre/xf86-video-s3virge.git
synced 2026-03-24 01:24:29 +00:00
Fall back to shadowfb if XAA is unavailable
Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
@@ -1328,8 +1328,11 @@ S3VPreInit(ScrnInfoPtr pScrn, int flags)
|
||||
/* Load XAA if needed */
|
||||
if (!ps3v->NoAccel || ps3v->hwcursor ) {
|
||||
if (!xf86LoadSubModule(pScrn, "xaa")) {
|
||||
S3VFreeRec(pScrn);
|
||||
return FALSE;
|
||||
xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO,
|
||||
"Falling back to shadowfb\n");
|
||||
ps3v->NoAccel = 1;
|
||||
ps3v->hwcursor = 0;
|
||||
ps3v->shadowFB = 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user