diff options
author | John Harrison <John.C.Harrison@Intel.com> | 2015-05-29 12:44:00 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-06-23 08:02:24 -0400 |
commit | ee044a8863de58044cb370c23f97b9b68b33e47b (patch) | |
tree | 5aff8c64f460123456aed365432db911cb0025ea /drivers/gpu/drm/i915/intel_ringbuffer.h | |
parent | 7deb4d3980ea44ebb4097426f85d5f6c89b873a4 (diff) |
drm/i915: Update ring->add_request() to take a request structure
Updated the various ring->add_request() implementations to take a request
instead of a ring. This removes their reliance on the OLR to obtain the seqno
value that the request should be tagged with.
For: VIZ-5115
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Reviewed-by: Tomas Elf <tomas.elf@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.h')
-rw-r--r-- | drivers/gpu/drm/i915/intel_ringbuffer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.h b/drivers/gpu/drm/i915/intel_ringbuffer.h index 8c713f625755..cb6d3d0b2530 100644 --- a/drivers/gpu/drm/i915/intel_ringbuffer.h +++ b/drivers/gpu/drm/i915/intel_ringbuffer.h | |||
@@ -183,7 +183,7 @@ struct intel_engine_cs { | |||
183 | int __must_check (*flush)(struct drm_i915_gem_request *req, | 183 | int __must_check (*flush)(struct drm_i915_gem_request *req, |
184 | u32 invalidate_domains, | 184 | u32 invalidate_domains, |
185 | u32 flush_domains); | 185 | u32 flush_domains); |
186 | int (*add_request)(struct intel_engine_cs *ring); | 186 | int (*add_request)(struct drm_i915_gem_request *req); |
187 | /* Some chipsets are not quite as coherent as advertised and need | 187 | /* Some chipsets are not quite as coherent as advertised and need |
188 | * an expensive kick to force a true read of the up-to-date seqno. | 188 | * an expensive kick to force a true read of the up-to-date seqno. |
189 | * However, the up-to-date seqno is not always required and the last | 189 | * However, the up-to-date seqno is not always required and the last |