diff --git a/src/i830_driver.c b/src/i830_driver.c index f41beb0..08626fb 100644 --- a/src/i830_driver.c +++ b/src/i830_driver.c @@ -2532,7 +2532,8 @@ I830ScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) if (pI830->LinearAlloc && xf86InitFBManagerLinear(pScreen, - pI830->xaa_linear->offset / pI830->cpp, + (pI830->xaa_linear->offset - + pI830->front_buffer->offset) / pI830->cpp, pI830->xaa_linear->size / pI830->cpp)) { xf86DrvMsg(scrnIndex, X_INFO,