]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Unify legacy/execlists submit_execbuf callbacks
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 2 Aug 2016 21:50:38 +0000 (22:50 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 2 Aug 2016 21:58:31 +0000 (22:58 +0100)
commit88b0fec1586f6680b21f7753107cba65fbe0b6a6
tree7fe5b2d8b62bc4f6d74ad22f507c90cdbff8eb41
parent38f198c6ff08ea3eeba6dcf770bdf61d171fefda
drm/i915: Unify legacy/execlists submit_execbuf callbacks

Now that emitting requests is identical between legacy and execlists, we
can use the same function to build up the ring for submitting to either
engine. (With the exception of i915_switch_contexts(), but in time that
will also be handled gracefully.)

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1469432687-22756-30-git-send-email-chris@chris-wilson.co.uk
Link: http://patchwork.freedesktop.org/patch/msgid/1470174640-18242-21-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_context.c
drivers/gpu/drm/i915/i915_gem_execbuffer.c
drivers/gpu/drm/i915/intel_lrc.c
drivers/gpu/drm/i915/intel_lrc.h