]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Capture the initial error-state when kicking stuck rings
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 10 Oct 2013 08:37:19 +0000 (09:37 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 10 Oct 2013 10:48:02 +0000 (12:48 +0200)
commita3f872766821df9303f8a88d22cf8e30b65b1629
treebcfd167ae9857677377dfadb403bff0174a7ac70
parent5a737953f647c7068d2078efb57bd609bb629d6d
drm/i915: Capture the initial error-state when kicking stuck rings

We lost the ability to capture the first error for a stuck ring in the
recent hangcheck robustification. Whilst both error states are
interesting (why does the GPU not recover is also essential to debug),
our primary goal is to fix the initial hang and so we need to capture
the first error state upon taking hangcheck action.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c