]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Dump the engine state before declaring wedged from wait_for_engines()
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 11 Dec 2017 19:41:35 +0000 (19:41 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 12 Dec 2017 21:07:41 +0000 (21:07 +0000)
commit15cca93f99e7b78cdab13d80d7380a608e1210c5
treee73fa3f739794a69b24989781b6b3e7d2a2704a6
parent8e3943c1ecdb4f6a0c335802782c91db3c8ad199
drm/i915: Dump the engine state before declaring wedged from wait_for_engines()

If wait_for_engines() fails and we resort to declaring the HW wedged,
dump the engine state for debugging.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171211194135.27095-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.c