summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2006-10-06 13:35:39 +0100
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2006-10-06 13:35:39 +0100
commitc7a23908a0ef45b14b438f656a5f15582bfcbc1c (patch)
tree4f60b008de395033d00e49885a4563df6ec15138 /src
parent07cdc60be8ebe5d0c21149f3cd2aeb8fed05022a (diff)
Fix server regeneration problem mapping the aperture
Diffstat (limited to 'src')
-rw-r--r--src/i810_driver.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/i810_driver.c b/src/i810_driver.c
index 22635c86..cd6d9d7d 100644
--- a/src/i810_driver.c
+++ b/src/i810_driver.c
@@ -1186,14 +1186,13 @@ I810MapMem(ScrnInfoPtr pScrn)
long i;
for (i = 2; i < pI810->FbMapSize; i <<= 1) ;
- pI810->FbMapSize = i;
if (!I810MapMMIO(pScrn))
return FALSE;
pI810->FbBase = xf86MapPciMem(pScrn->scrnIndex, VIDMEM_FRAMEBUFFER,
pI810->PciTag,
- pI810->LinearAddr, pI810->FbMapSize);
+ pI810->LinearAddr, i);
if (!pI810->FbBase)
return FALSE;