Add some MergedFB checks for accelerator limitations

This commit is contained in:
Alan Hourihane 2006-10-23 17:29:17 +01:00
parent 20d263805a
commit 7d67324fa3
1 changed files with 10 additions and 0 deletions

View File

@ -5468,6 +5468,16 @@ I830BIOSPreInit(ScrnInfoPtr pScrn, int flags)
#endif
pI830->disableTiling = TRUE; /* no DRI - so disableTiling */
if (pScrn->displayWidth >= 4096) {
xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "Cannot support > 1024x768 in leftof/rightof configurations. disabling DRI.\n");
pI830->directRenderingDisabled = TRUE;
}
if (pScrn->virtualY > 2048) {
xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "Cannot support > 2048 vertical lines. disabling acceleration.\n");
pI830->noAccel = TRUE;
}
pI830->displayWidth = pScrn->displayWidth;
SetPipeAccess(pScrn);