summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2006-01-25 22:22:42 +0000
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2006-01-25 22:22:42 +0000
commit076971b95ed3b89e1a333adbffceab1c2a5b7743 (patch)
tree264282ed4abd79eae34b93d6315a7c7761b4f3e2
parent77d1c579f3031789031dd203175d3c9555226f79 (diff)
When going dual head only take a portion of memory for the second headxf86-video-i810-1_5_0_0
instead of doubling the requirements.
-rw-r--r--src/i830_driver.c2
1 files changed, 1 insertions, 1 deletions
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;
}