From 076971b95ed3b89e1a333adbffceab1c2a5b7743 Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Wed, 25 Jan 2006 22:22:42 +0000 Subject: When going dual head only take a portion of memory for the second head instead of doubling the requirements. --- src/i830_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i830_driver.c b/src/i830_driver.c index 7ba6da38..622565c8 100644 --- a/src/i830_driver.c +++ b/src/i830_driver.c @@ -2676,7 +2676,7 @@ I830BIOSPreInit(ScrnInfoPtr pScrn, int flags) if (xf86IsEntityShared(pScrn->entityList[0])) { if (I830IsPrimary(pScrn)) - pScrn->videoRam *= 2; + pScrn->videoRam += I830_DEFAULT_VIDEOMEM_2D; else pScrn->videoRam = I830_MAXIMUM_VBIOS_MEM; } -- cgit v1.2.3