drm/i915: Include power-management state in gpu error dump
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 2 Mar 2017 15:15:44 +0000 (15:15 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 2 Mar 2017 16:47:45 +0000 (16:47 +0000)
commite5aac87eaed761f39e747e8711faadb7306df488
treec2048e61a4fc5823f6fc6c5953d6f1f589d155c9
parentf73b567462e0f086bbff5ae22040ff1bc3d87487
drm/i915: Include power-management state in gpu error dump

Useful for double checking that the device is powered up when it hung,
include both the status of the power management and our rpm wakelock.

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