diff options
| author | 2015-05-29 17:44:05 +0100 | |
|---|---|---|
| committer | 2015-06-23 14:02:27 +0200 | |
| commit | f71696876a16c3d68d27db71d93f389ae440171c (patch) | |
| tree | c7c324a490249ea68294427df23eb73ea6290570 /drivers/gpu/drm/i915/intel_ringbuffer.h | |
| parent | drm/i915: Update ring->sync_to() to take a request structure (diff) | |
| download | linux-dev-f71696876a16c3d68d27db71d93f389ae440171c.tar.xz linux-dev-f71696876a16c3d68d27db71d93f389ae440171c.zip | |
drm/i915: Update ring->signal() to take a request structure
Updated the various ring->signal() implementations to take a request instead of
a ring. This removes their reliance on the OLR to obtain the seqno value that
should be used for the signal.
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 6853f8f0ee29..ca04f3f58757 100644 --- a/drivers/gpu/drm/i915/intel_ringbuffer.h +++ b/drivers/gpu/drm/i915/intel_ringbuffer.h @@ -255,7 +255,7 @@ struct intel_engine_cs { int (*sync_to)(struct drm_i915_gem_request *to_req, struct intel_engine_cs *from, u32 seqno); - int (*signal)(struct intel_engine_cs *signaller, + int (*signal)(struct drm_i915_gem_request *signaller_req, /* num_dwords needed by caller */ unsigned int num_dwords); } semaphore; |
