[Intel-gfx] [PATCH] drm/i915: dump encoder which caused the full modeset
Daniel Vetter
daniel.vetter at ffwll.ch
Mon Dec 17 15:19:22 CET 2012
Might be useful in figuring out what's going on if something goes
wrong.
References: https://bugs.freedesktop.org/show_bug.cgi?id=58396
Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
---
drivers/gpu/drm/i915/intel_display.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 82267b2..31844fa 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -8184,7 +8184,9 @@ next_encoder:
/* Only now check for crtc changes so we don't miss encoders
* that will be disabled. */
if (&encoder->new_crtc->base != encoder->base.crtc) {
- DRM_DEBUG_KMS("crtc changed, full mode switch\n");
+ DRM_DEBUG_KMS("crtc changed on [ENCODER:%d:%s], full mode switch\n",
+ encoder->base.base.id,
+ drm_get_encoder_name(&encoder->base));
config->mode_changed = true;
}
}
--
1.7.10.4
More information about the Intel-gfx
mailing list