[Intel-gfx] [PATCH] drm/i915: don't scream into dmesg when a modeset fails

Daniel Vetter daniel.vetter at ffwll.ch
Tue Jun 25 11:06:52 CEST 2013


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
Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
---
 drivers/gpu/drm/i915/intel_display.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index af2b5ab..d86336b 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -8721,8 +8721,8 @@ static int intel_crtc_set_config(struct drm_mode_set *set)
 		ret = intel_set_mode(set->crtc, set->mode,
 				     set->x, set->y, set->fb);
 		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);
 			goto fail;
 		}
 	} else if (config->fb_changed) {
-- 
1.7.10.4




More information about the Intel-gfx mailing list