OSDN Git Service

drm/i915: hush check crtc state
authorAdam Jackson <ajax@redhat.com>
Wed, 13 Nov 2013 15:17:24 +0000 (10:17 -0500)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Sun, 28 Dec 2014 18:32:03 +0000 (02:32 +0800)
This is _by far_ the most common backtrace for i915 on retrace.fp.o, and
it's mostly useless noise.  There's not enough context when it's generated
to know if something actually went wrong.  Downgrade the message to
KMS debugging so we can still get it if we want it.

Bugzilla: 1027037 1028785
Upstream-status: http://lists.freedesktop.org/archives/intel-gfx/2013-November/035948.html

drivers/gpu/drm/i915/intel_display.c

index 9cb5c95..edf0d4b 100644 (file)
@@ -10965,7 +10965,7 @@ check_crtc_state(struct drm_device *dev)
 
                if (active &&
                    !intel_pipe_config_compare(dev, &crtc->config, &pipe_config)) {
-                       WARN(1, "pipe state doesn't match!\n");
+                       DRM_DEBUG_KMS("pipe state doesn't match!\n");
                        intel_dump_pipe_config(crtc, &pipe_config,
                                               "[hw state]");
                        intel_dump_pipe_config(crtc, &crtc->config,