diff options
author | John Harrison <John.C.Harrison@Intel.com> | 2015-05-29 12:44:02 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-06-23 08:02:25 -0400 |
commit | 53fddaf70d08aa6ff59a94ae0578ddc8743e920f (patch) | |
tree | e7f0ecc77c906086cff15e2a3b5488d9a6613b5f /drivers/gpu/drm/i915/intel_ringbuffer.h | |
parent | c4e766389e8b7ce3ceb7f2785d4bb94b82448ff0 (diff) |
drm/i915: Update ring->dispatch_execbuffer() to take a request structure
Updated the various ring->dispatch_execbuffer() implementations to take a
request instead of a ring.
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 96b8e353a1f0..bf679ae03aa1 100644 --- a/drivers/gpu/drm/i915/intel_ringbuffer.h +++ b/drivers/gpu/drm/i915/intel_ringbuffer.h | |||
@@ -194,7 +194,7 @@ struct intel_engine_cs { | |||
194 | bool lazy_coherency); | 194 | bool lazy_coherency); |
195 | void (*set_seqno)(struct intel_engine_cs *ring, | 195 | void (*set_seqno)(struct intel_engine_cs *ring, |
196 | u32 seqno); | 196 | u32 seqno); |
197 | int (*dispatch_execbuffer)(struct intel_engine_cs *ring, | 197 | int (*dispatch_execbuffer)(struct drm_i915_gem_request *req, |
198 | u64 offset, u32 length, | 198 | u64 offset, u32 length, |
199 | unsigned dispatch_flags); | 199 | unsigned dispatch_flags); |
200 | #define I915_DISPATCH_SECURE 0x1 | 200 | #define I915_DISPATCH_SECURE 0x1 |