]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Wait first for submission, before waiting for request completion
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 28 Oct 2016 12:58:48 +0000 (13:58 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 28 Oct 2016 19:53:52 +0000 (20:53 +0100)
commit5001c0c6ff22528b2b545bb7bb6a5a7e5ec92692
tree14e0bc98862f162bc235bd9dbb32af02f9f35775
parent6c8c93440f4c5062e63259c1381ff6544c285d30
drm/i915: Wait first for submission, before waiting for request completion

In future patches, we will no longer be able to wait on a static global
seqno and instead have to break our wait up into phases. First we wait
for the global seqno assignment (upon submission to hardware), and once
submitted we wait for the hardware to complete.

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