]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Wait for engines to idle before retiring
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 27 Jun 2018 11:53:34 +0000 (12:53 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 27 Jun 2018 18:00:22 +0000 (19:00 +0100)
commit72e8158e65e8c1c56f47677d391b7a134661ce6e
tree792445308847bdd5d0c9740e33bdc65496bc0934
parentde7c3bf6abb6ea68269964ec43298d01a9b398fb
drm/i915: Wait for engines to idle before retiring

In the next^W forthcoming patch, we will start to defer retiring the
request from the engine list if it is still active on the submission
backend. To preserve the semantics that after wait-for-idle completes
the system is idle and fully retired, we need to therefore wait for the
backends to idle before calling i915_retire_requests().

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180627115334.16282-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.c