Fix server regeneration problem mapping the aperture
This commit is contained in:
parent
07cdc60be8
commit
c7a23908a0
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue