diff options
author | Eric Anholt <eric@anholt.net> | 2008-05-02 17:13:45 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2008-05-02 17:13:45 -0700 |
commit | 7349f218b47b21595a13103aaa45ddbfdc14dd13 (patch) | |
tree | f1c3ce4bac7009ce5cc3fa9877deecb4e613f62c /src/mesa/drivers/dri | |
parent | ef33e76cebed39551aabce397d165d3990ba517c (diff) |
Fix to use GEM execbuf instead of TTM.
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_ioctl.c | 4 |
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 ec1dec0b1e..b84cb64633 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); } |