drm/i915: Print an error message for a reset failure on gen2
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 11 Dec 2017 20:40:40 +0000 (20:40 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 12 Dec 2017 21:07:40 +0000 (21:07 +0000)
commit3ef98f50ca7cef5cc9b9bf89cd46830afbf4df68
tree0f5bae5db395feb9e959ab7e981aab98638d054a
parent0132a1a5d44d2cd32a249dbe999a88c2134a6bd1
drm/i915: Print an error message for a reset failure on gen2

Since on gen2, we do not universally have a GPU reset implementation, we
fail i915_reset() at intel_has_gpu_reset(). However, this is also
intentionally disabled for CI testing and so it only has a debug
message. Promote that debug message to a user-facing error message that
should explain why their machine became unusable following the GPU hang.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171211204040.22858-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.c