]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Do request retirement before marking engines as wedged
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 30 Mar 2017 14:50:36 +0000 (15:50 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 30 Mar 2017 16:56:21 +0000 (17:56 +0100)
commit8b7b6264ffb2adca5d7737bab9ed80bc8246c387
tree46483792e32a9a83ef47140f52c3bf31886234d1
parent0bde59aa5d84a72ce112a84ef96224aea33e7753
drm/i915: Do request retirement before marking engines as wedged

As we declare an engine as wedged, we mark all of its active requests as
in error. However, we don't want to mark successfully completed requests
as in error, which requires us to retire those requests first.

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/20170330145041.9005-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.c