drm/i915: don't scream into dmesg when a modeset fails
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 25 Jun 2013 09:06:52 +0000 (11:06 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 1 Jul 2013 09:14:45 +0000 (11:14 +0200)
There are legit cases, e.g. when userspace asks for something
impossible. So tune it down to debug output like we do with all other
userspace-triggerable warnings.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=66111#c5
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
[danvet: Rebased.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c

index 17d5c7a3468b81d5f68d0ab380d38ac2b312652d..623acf49358ee730292af9ca6cc48ab5f3604f95 100644 (file)
@@ -8753,8 +8753,8 @@ static int intel_crtc_set_config(struct drm_mode_set *set)
        }
 
        if (ret) {
-               DRM_ERROR("failed to set mode on [CRTC:%d], err = %d\n",
-                         set->crtc->base.id, ret);
+               DRM_DEBUG_KMS("failed to set mode on [CRTC:%d], err = %d\n",
+                             set->crtc->base.id, ret);
 fail:
                intel_set_config_restore_state(dev, config);