]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Clear execlist port[] before updating seqno on wedging
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 21 Jul 2017 12:32:25 +0000 (13:32 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 27 Jul 2017 07:38:45 +0000 (09:38 +0200)
commit4518675e498b1fc7ee5a8558afa1ccbef662c725
treef688fa0305bdd3e6a7d967403f63732266f3ca91
parent8de8f465ef6939ca895ceeb332a194ae1bee6205
drm/i915: Clear execlist port[] before updating seqno on wedging

When we wedge the device, we clear out the in-flight requests and
advance the breadcrumb to indicate they are complete. However, the
breadcrumb advance includes an assert that the engine is idle, so that
advancement needs to be the last step to ensure we pass our own sanity
checks.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170721123238.16428-7-chris@chris-wilson.co.uk
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c