drm/i915: Suppress error message when GPU resets are disabled
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 13 Apr 2016 16:35:09 +0000 (17:35 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 14 Apr 2016 09:45:40 +0000 (10:45 +0100)
commit804e59a8300b6943cad60f5032f954bd9c4e87e2
treedbad7a1011330a21f3ec5c4a5bb3281abfe21c49
parentf4457ae71fd6c3bc9ab979839258411a34baa7f6
drm/i915: Suppress error message when GPU resets are disabled

If we do not have lowlevel support for reseting the GPU, or if the user
has explicitly disabled reseting the device, the failure is expected.
Since it is an expected failure, we should be using a lower priority
message than *ERROR*, perhaps NOTICE. In the absence of DRM_NOTICE, just
emit the expected failure as a DEBUG message.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1460565315-7748-10-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.c