summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2008-12-29 12:47:30 +1000
committerZhenyu Wang <zhenyu.z.wang@intel.com>2008-12-30 18:08:22 +0800
commit59358ecbbeceb9a2ce5a33787941c2e67fee4218 (patch)
tree7805a9b3b486b9e4357eb1c7de5b9a07c13a1dc2 /src
parent649b32a5dc941a688f4671b903774ea2ea97d2f2 (diff)
exa: fix map gtt call to use current API
(cherry picked from commit 408f7139354a942f29334795b5480a0b6bb6142a)
Diffstat (limited to 'src')
-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 3e3487e8..4a046447 100644
--- a/src/i830_exa.c
+++ b/src/i830_exa.c
@@ -540,7 +540,7 @@ static Bool I830EXAPrepareAccess(PixmapPtr pPix, int index)
I830Sync(scrn);
i830->need_sync = FALSE;
}
- if (dri_gem_bo_map_gtt(driver_priv->bo)) {
+ if (drm_intel_gem_bo_map_gtt(driver_priv->bo)) {
xf86DrvMsg(scrn->scrnIndex, X_WARNING, "%s: bo map failed\n",
__FUNCTION__);
return FALSE;