diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-09-28 10:07:56 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-09-28 11:30:52 +0100 |
commit | a56ba56c275b1c2b982c8901ab92bf5a0fd0b757 (patch) | |
tree | 6f4e9ea2fe775a1f05e16888dc8b5c5c0edce11a /drivers/gpu/drm/i915/intel_ringbuffer.h | |
parent | ced270fa893735363f74bf96e0a8a05ec330d04d (diff) | |
download | lwn-a56ba56c275b1c2b982c8901ab92bf5a0fd0b757.tar.gz lwn-a56ba56c275b1c2b982c8901ab92bf5a0fd0b757.zip |
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.h | 5 |
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 c50919275c6f..9725f783db20 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; }; |