linuxtorvalds / rpms / kernel

Forked from rpms/kernel 2 years ago
Clone
e336be
From 63a9dfe66b3b82b6eb10c6548aaf22dd7e543d2d Mon Sep 17 00:00:00 2001
e336be
From: Adam Jackson <ajax@redhat.com>
e336be
Date: Mon, 10 Jul 2017 08:11:48 -0700
e336be
Subject: [PATCH] drm/i915: hush check crtc state
e336be
e336be
This is _by far_ the most common backtrace for i915 on retrace.fp.o, and
e336be
it's mostly useless noise.  There's not enough context when it's generated
e336be
to know if something actually went wrong.  Downgrade the message to
e336be
KMS debugging so we can still get it if we want it.
e336be
e336be
Bugzilla: 1027037 1028785
e336be
Upstream-status: http://lists.freedesktop.org/archives/intel-gfx/2013-November/035948.html
e336be
---
e336be
 drivers/gpu/drm/i915/intel_display.c | 2 +-
e336be
 1 file changed, 1 insertion(+), 1 deletion(-)
e336be
e336be
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
e336be
index dec9e58..620f378a 100644
e336be
--- a/drivers/gpu/drm/i915/intel_display.c
e336be
+++ b/drivers/gpu/drm/i915/intel_display.c
e336be
@@ -12277,7 +12277,7 @@ verify_crtc_state(struct drm_crtc *crtc,
e336be
 	sw_config = to_intel_crtc_state(new_crtc_state);
e336be
 	if (!intel_pipe_config_compare(dev_priv, sw_config,
e336be
 				       pipe_config, false)) {
e336be
-		I915_STATE_WARN(1, "pipe state doesn't match!\n");
e336be
+		DRM_DEBUG_KMS("pipe state doesn't match!\n");
e336be
 		intel_dump_pipe_config(intel_crtc, pipe_config,
e336be
 				       "[hw state]");
e336be
 		intel_dump_pipe_config(intel_crtc, sw_config,
e336be
-- 
e336be
2.7.5
e336be