]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Show the GPU state when declaring wedged
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 5 Feb 2018 09:21:59 +0000 (09:21 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 5 Feb 2018 13:23:40 +0000 (13:23 +0000)
commit49834da095c857df33aef5cb0fe9ed2b1ab5153d
tree9cfb920991851d77ae8cfbe2737017f422d9d0bc
parent6c2c401619e466caa4911b38249f2e79b84aa96a
drm/i915: Show the GPU state when declaring wedged

Dump each engine state when i915_gem_set_wedged() is called to give us
some more clues as to why we had to terminate the GPU.

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