OSDN Git Service

drm/i915: Include RING_MODE when dumping the engine state
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 26 Oct 2017 11:50:48 +0000 (12:50 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 26 Oct 2017 20:35:21 +0000 (21:35 +0100)
commit3c75de5b983a0a147ec93d1960f241a74d76b347
tree64fec82f5e3511b30d3c54caa8e17c0a704f0094
parentbad7b7e674cf94775cf86a7c4331bab61d79d7ea
drm/i915: Include RING_MODE when dumping the engine state

Knowing the RING_MODE flags is useful for checking the state of the
engine, such as whether the CS is idle after trying to stop the engines
before reset.

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