diff --git a/src/i830_exa.c b/src/i830_exa.c index fd29df1..8213242 100644 --- a/src/i830_exa.c +++ b/src/i830_exa.c @@ -767,7 +767,7 @@ i830_uxa_prepare_access (PixmapPtr pixmap, uxa_access_t access) I830Sync(scrn); i830->need_sync = FALSE; } - if (dri_bo_map (bo, access == UXA_ACCESS_RW) != 0) + if (dri_gem_bo_map_gtt(bo, 4096)) return FALSE; pixmap->devPrivate.ptr = bo->virtual; }