]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Nonblocking request submission
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 9 Sep 2016 13:12:00 +0000 (14:12 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 9 Sep 2016 13:23:08 +0000 (14:23 +0100)
commite48a14e853471f0623cf34be7e715cb27f8e6f2d
tree74af67b35ad8bc00c8484fce8154e43d4229fee0
parentaf1f8a68b730b7f215214a78b58f8c54d16a1f26
drm/i915: Nonblocking request submission

Now that we have fences in place to drive request submission, we can
employ those to queue requests after their dependencies as opposed to
stalling in the middle of an execbuf ioctl. (However, we still choose to
spin before enabling the IRQ as that is faster - though contentious.)

v2: Do the fence ordering first, where we can still fail.

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/20160909131201.16673-20-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_request.c
drivers/gpu/drm/i915/i915_gem_request.h