diff options
author | Eric Anholt <eric@anholt.net> | 2008-05-05 13:40:50 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2008-05-05 13:40:50 -0700 |
commit | 1f810b85b1e9393c8e606d2f28250cbb19cf916b (patch) | |
tree | b0e10ed1fb24d464662a411a0d7d51a205a47d56 /src/mesa/drivers/dri/intel/intel_ioctl.h | |
parent | 87ccc03736166db9ef85f3eee3723b82f395d3cf (diff) |
Make intel_{batch,exec}_ioctl return an error code so we can recover better.
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_ioctl.h')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_ioctl.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_ioctl.h b/src/mesa/drivers/dri/intel/intel_ioctl.h index 52b0ab6102..526e38358c 100644 --- a/src/mesa/drivers/dri/intel/intel_ioctl.h +++ b/src/mesa/drivers/dri/intel/intel_ioctl.h @@ -33,14 +33,14 @@ void intelWaitIrq( struct intel_context *intel, int seq ); int intelEmitIrqLocked( struct intel_context *intel ); -void intel_batch_ioctl( struct intel_context *intel, - GLuint start_offset, - GLuint used, - GLboolean ignore_cliprects, - GLboolean allow_unlock ); -void intel_exec_ioctl(struct intel_context *intel, +int intel_batch_ioctl(struct intel_context *intel, + GLuint start_offset, GLuint used, - GLboolean ignore_cliprects, GLboolean allow_unlock, - struct drm_i915_gem_execbuffer *execbuf); + GLboolean ignore_cliprects, + GLboolean allow_unlock); +int intel_exec_ioctl(struct intel_context *intel, + GLuint used, + GLboolean ignore_cliprects, GLboolean allow_unlock, + struct drm_i915_gem_execbuffer *execbuf); #endif |