summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-05-08 17:51:21 +1000
committerDave Airlie <airlied@linux.ie>2007-05-08 17:51:21 +1000
commit963ed9910ab59af23c66f4a8fafb7879f5140d97 (patch)
treefc08ca90340433eb00fbae0b8eb1d9528d391a6e
parentc4e2caec44c5c1837d676ff0f5ad0747b2e570a7 (diff)
libdrm: fix typo on ttm fence interface
-rw-r--r--libdrm/xf86drm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdrm/xf86drm.c b/libdrm/xf86drm.c
index 09c4f298..78efcf2a 100644
--- a/libdrm/xf86drm.c
+++ b/libdrm/xf86drm.c
@@ -2888,7 +2888,7 @@ int drmBOFence(int fd, drmBO *buf, unsigned flags, unsigned fenceHandle)
req->handle = buf->handle;
req->mask = flags;
req->arg_handle = fenceHandle;
- req->op = drm_bo_validate;
+ req->op = drm_bo_fence;
ret = ioctl(fd, DRM_IOCTL_BUFOBJ, &arg);