summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_ringbuffer.c
diff options
context:
space:
mode:
authorJohn Harrison <John.C.Harrison@Intel.com>2015-05-29 17:44:08 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-06-23 14:02:30 +0200
commit4d616a293a1071d19066808abccb40930f0ae5a0 (patch)
tree9d4db1b7c60367ad194c34d5a662a993f8d56cda /drivers/gpu/drm/i915/intel_ringbuffer.c
parent5fb9de1a2ea1968b57c906c6770794f1e7744828 (diff)
drm/i915: Update intel_logical_ring_begin() to take a request structure
Now that everything above has been converted to use requests, intel_logical_ring_begin() can be updated to take a request instead of a ringbuf/context pair. This also means that it no longer needs to lazily allocate a request if no-one happens to have done it earlier. Note that this change makes the execlist signature the same as the legacy version. Thus the two functions could be merged into a ring->begin() wrapper if required. 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.c')
0 files changed, 0 insertions, 0 deletions