Unbreak the sunffb driver. No acceleration for now, since XAA was

removed from X server 1.14.
This commit is contained in:
matthieu 2013-06-10 19:49:40 +00:00
parent ff44df0816
commit 7603c4ad9c

View File

@ -413,9 +413,12 @@ FFBPreInit(ScrnInfoPtr pScrn, int flags)
return FALSE; return FALSE;
} }
if (xf86LoadSubModule(pScrn, "xaa") == NULL) { if (!pFfb->NoAccel) {
FFBFreeRec(pScrn); if (xf86LoadSubModule(pScrn, "xaa") == NULL) {
return FALSE; xf86DrvMsg(pScrn->scrnIndex, X_INFO,
"Loading XAA failed, acceleration disabled\n");
pFfb->NoAccel = TRUE;
}
} }
if (pFfb->HWCursor && xf86LoadSubModule(pScrn, "ramdac") == NULL) { if (pFfb->HWCursor && xf86LoadSubModule(pScrn, "ramdac") == NULL) {