diff --git a/src/i830_accel.c b/src/i830_accel.c index b365e3f..303afd1 100644 --- a/src/i830_accel.c +++ b/src/i830_accel.c @@ -56,6 +56,9 @@ intel_get_pixmap_offset(PixmapPtr pPix) ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum]; I830Ptr pI830 = I830PTR(pScrn); + if (pixmap_is_scanout(pPix)) + return pScrn->fbOffset; + return (unsigned long)pPix->devPrivate.ptr - (unsigned long)pI830->FbBase; }