[Intel-gfx] [PATCH] drm/i915: Downgrade pipe state mismatches to DRM_DEBUG_KMS

Adam Jackson ajax at redhat.com
Wed Nov 13 16:33:17 CET 2013


This is, by far, the most common kernel retrace in i915 I'm seeing:

https://retrace.fedoraproject.org/faf/problems/1346879/

There's not enough information in the backtrace to know if something
actually went wrong or if this is just an assertion failure, so it's
pretty useless.  Downgrade this to DRM_DEBUG_KMS so we can still see it
if we want it.

Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 drivers/gpu/drm/i915/intel_display.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index d78d33f..ce5d1b3 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -8803,7 +8803,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,
-- 
1.8.4.2




More information about the Intel-gfx mailing list