]> 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)
commitc20f20ba230a673b7249f59cc57e72cc1a542e85
treedbad7a1011330a21f3ec5c4a5bb3281abfe21c49
parent325952f72edf1512b0e69c9d71609369f582c608
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