diff options
author | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2006-10-23 17:29:17 +0100 |
---|---|---|
committer | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2006-10-23 17:29:17 +0100 |
commit | 7d67324fa3a5b5cf0227550316c366752fe4abfb (patch) | |
tree | 4c64ca7986b4a849da109e6cefde19b4b3dce00f | |
parent | 20d263805a365be548279758bc39d027d6e56d63 (diff) |
Add some MergedFB checks for accelerator limitations
-rw-r--r-- | src/i830_driver.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c index 3cee1c8b..432f0cb2 100644 --- a/src/i830_driver.c +++ b/src/i830_driver.c @@ -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); |