diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2010-02-02 17:08:37 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-09-08 10:23:35 +0100 |
commit | a6910434e1b5f2a9fe7cab39b01bae9a7a7bbe70 (patch) | |
tree | cc4778226ba2cb98e6daf1d6ba86f1a7273aa04f /drivers/gpu/drm/i915/intel_ringbuffer.h | |
parent | 8bff917c93e365a8a145f9b1be99c81257038151 (diff) | |
download | blackbird-op-linux-a6910434e1b5f2a9fe7cab39b01bae9a7a7bbe70.tar.gz blackbird-op-linux-a6910434e1b5f2a9fe7cab39b01bae9a7a7bbe70.zip |
drm/i915: only one interrupt per batchbuffer is not enough!
Previously I thought that one interrupt per batchbuffer should be
enough. Now tedious benchmarking showed this to be wrong.
Therefore track whether any commands have been isssued with a future
seqno (like pipelined fencing changes or flushes). If this is the case
emit a request before issueing the batchbuffer.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
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 525e7d3edda8..d3e5f40a8040 100644 --- a/drivers/gpu/drm/i915/intel_ringbuffer.h +++ b/drivers/gpu/drm/i915/intel_ringbuffer.h @@ -83,6 +83,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; }; |