]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Add is-wedged flag to intel_engine_dump()
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 8 Dec 2017 01:23:03 +0000 (01:23 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 8 Dec 2017 18:48:38 +0000 (18:48 +0000)
commit1935d4477dee336210ba8aab1b1582a3aed6e1ec
tree5e833d328f3486fb22d8f4dbb754d49bcc27c993
parent2512a781bb30b85efc2894244d006435fa12aaf8
drm/i915: Add is-wedged flag to intel_engine_dump()

Comparing the state tested by intel_engine_is_idle() and printed by
intel_engine_dump(), the only bit not shown is whether or not the device
is wedged. Add that little bit of information to the pretty printer so
that if the engine fails to idle we can see why.

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