aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_ringbuffer.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-10-27 11:11:02 -0400
committerChris Wilson <chris@chris-wilson.co.uk>2010-10-27 18:31:03 -0400
commit3cce469cab880ef8990d2d16d745bf85443fc998 (patch)
tree929b8ae6f2a693d2a793e8ddd82d5c0957b2414d /drivers/gpu/drm/i915/intel_ringbuffer.h
parentb2223497b44a4701d1be873d1e9453d7f720043b (diff)
drm/i915: Propagate error from failing to queue a request
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.h')
-rw-r--r--drivers/gpu/drm/i915/intel_ringbuffer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.h b/drivers/gpu/drm/i915/intel_ringbuffer.h
index 7ad9e94220b4..acd23374fe89 100644
--- a/drivers/gpu/drm/i915/intel_ringbuffer.h
+++ b/drivers/gpu/drm/i915/intel_ringbuffer.h
@@ -48,8 +48,8 @@ struct intel_ring_buffer {
48 void (*flush)(struct intel_ring_buffer *ring, 48 void (*flush)(struct intel_ring_buffer *ring,
49 u32 invalidate_domains, 49 u32 invalidate_domains,
50 u32 flush_domains); 50 u32 flush_domains);
51 u32 (*add_request)(struct intel_ring_buffer *ring, 51 int (*add_request)(struct intel_ring_buffer *ring,
52 u32 flush_domains); 52 u32 *seqno);
53 u32 (*get_seqno)(struct intel_ring_buffer *ring); 53 u32 (*get_seqno)(struct intel_ring_buffer *ring);
54 int (*dispatch_execbuffer)(struct intel_ring_buffer *ring, 54 int (*dispatch_execbuffer)(struct intel_ring_buffer *ring,
55 struct drm_i915_gem_execbuffer2 *exec, 55 struct drm_i915_gem_execbuffer2 *exec,