]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3499a1630065eb283f4b0aeb4ca205804807f165
treedbad7a1011330a21f3ec5c4a5bb3281abfe21c49
parentb9d1c77e23d483ccaf4f21eb6af1d09a82e856e9
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