ignatenkobrain / rpms / kernel

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