summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_ringbuffer.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-09-28 09:07:56 (GMT)
committerChris Wilson <chris@chris-wilson.co.uk>2010-09-28 10:30:52 (GMT)
commita56ba56c275b1c2b982c8901ab92bf5a0fd0b757 (patch)
tree6f4e9ea2fe775a1f05e16888dc8b5c5c0edce11a /drivers/gpu/drm/i915/intel_ringbuffer.h
parentced270fa893735363f74bf96e0a8a05ec330d04d (diff)
downloadlinux-fsl-qoriq-a56ba56c275b1c2b982c8901ab92bf5a0fd0b757.tar.xz
Revert "drm/i915: Drop ring->lazy_request"
With multiple rings generating requests independently, the outstanding requests must also be track independently. Reported-by: Wang Jinjin <jinjin.wang@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=30380 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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.h b/drivers/gpu/drm/i915/intel_ringbuffer.h
index c509192..9725f78 100644
--- a/drivers/gpu/drm/i915/intel_ringbuffer.h
+++ b/drivers/gpu/drm/i915/intel_ringbuffer.h
@@ -81,6 +81,11 @@ struct intel_ring_buffer {
*/
struct list_head request_list;
+ /**
+ * Do we have some not yet emitted requests outstanding?
+ */
+ bool outstanding_lazy_request;
+
wait_queue_head_t irq_queue;
drm_local_map_t map;
};