summaryrefslogtreecommitdiff
path: root/src/i810_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/i810_driver.c')
-rw-r--r--src/i810_driver.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/i810_driver.c b/src/i810_driver.c
index ca69f3b6..153ed552 100644
--- a/src/i810_driver.c
+++ b/src/i810_driver.c
@@ -905,10 +905,13 @@ I810PreInit(ScrnInfoPtr pScrn, int flags)
* Changed to 8 Meg so we can have acceleration by default (Mark).
*/
mem = I810CheckAvailableMemory(pScrn);
- if (pI810->directRenderingDisabled || mem < 134217728) /* < 128 MB */
+ if (pI810->directRenderingDisabled || mem < 131072) /* < 128 MB */
pScrn->videoRam = 8192;
+ else if (mem < 196608)
+ pScrn->videoRam = 16384; /* < 192 MB */
else
- pScrn->videoRam = 16384;
+ pScrn->videoRam = 24576;
+
from = X_DEFAULT;
if (pI810->pEnt->device->videoRam) {