aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2008-05-02 17:13:45 -0700
committerEric Anholt <[email protected]>2008-05-02 17:13:45 -0700
commit7349f218b47b21595a13103aaa45ddbfdc14dd13 (patch)
treef1c3ce4bac7009ce5cc3fa9877deecb4e613f62c
parentef33e76cebed39551aabce397d165d3990ba517c (diff)
Fix to use GEM execbuf instead of TTM.
-rw-r--r--src/mesa/drivers/dri/intel/intel_ioctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_ioctl.c b/src/mesa/drivers/dri/intel/intel_ioctl.c
index ec1dec0b1e3..b84cb64633c 100644
--- a/src/mesa/drivers/dri/intel/intel_ioctl.c
+++ b/src/mesa/drivers/dri/intel/intel_ioctl.c
@@ -170,12 +170,12 @@ intel_exec_ioctl(struct intel_context *intel,
(((GLuint) intel->drawY) << 16));
do {
- ret = drmCommandWriteRead(intel->driFd, DRM_I915_EXECBUFFER, &execbuf,
+ ret = drmCommandWriteRead(intel->driFd, DRM_I915_GEM_EXECBUFFER, &execbuf,
sizeof(execbuf));
} while (ret == -EAGAIN);
if (ret != 0) {
- fprintf(stderr, "DRM_I915_EXECBUFFER: %d\n", -errno);
+ fprintf(stderr, "DRM_I915_GEM_EXECBUFFER: %d\n", -errno);
UNLOCK_HARDWARE(intel);
exit(1);
}