xf86-video-intel: src/i810_driver.c

Alan Hourihane alanh at kemper.freedesktop.org
Fri Oct 6 15:35:49 EEST 2006


 src/i810_driver.c |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)

New commits:
diff-tree c7a23908a0ef45b14b438f656a5f15582bfcbc1c (from 07cdc60be8ebe5d0c21149f3cd2aeb8fed05022a)
Author: Alan Hourihane <alanh at fairlite.demon.co.uk>
Date:   Fri Oct 6 13:35:39 2006 +0100

    Fix server regeneration problem mapping the aperture

diff --git a/src/i810_driver.c b/src/i810_driver.c
index 22635c8..cd6d9d7 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;
 



More information about the xorg-commit mailing list