summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2008-08-19 15:46:52 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-08-19 15:46:52 -0700
commit67ab5462527c5ed94ed073421b60e85a213ea267 (patch)
tree8862c88562cc01da5492bfbc15711bd120a24ae3
parent547cf774801bea2177d1224204f7de0dbf6baf3c (diff)
Use GTT mapping for EXA PrepareAccess function
Makes software fallbacks *much* faster.
-rw-r--r--src/i830_exa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_exa.c b/src/i830_exa.c
index e59ceaa7..9ba8df90 100644
--- a/src/i830_exa.c
+++ b/src/i830_exa.c
@@ -535,7 +535,7 @@ static Bool I830EXAPrepareAccess(PixmapPtr pPix, int index)
I830Sync(scrn);
i830->need_sync = FALSE;
}
- if (dri_bo_map(driver_priv->bo, 1)) {
+ if (dri_gem_bo_map_gtt(driver_priv->bo)) {
xf86DrvMsg(scrn->scrnIndex, X_WARNING, "%s: bo map failed\n",
__FUNCTION__);
return FALSE;