From: Adam Jackson Date: Mon, 10 Oct 2011 20:21:27 +0000 (-0400) Subject: drm: Add KMS debug printk's for encoder and crtc fixup failure X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=836e53d7586bcb1440ae1f6e146102318d0436b6;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git drm: Add KMS debug printk's for encoder and crtc fixup failure Signed-off-by: Adam Jackson Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/drm_crtc_helper.c b/drivers/gpu/drm/drm_crtc_helper.c index f88a9b2c977b..f2366440b738 100644 --- a/drivers/gpu/drm/drm_crtc_helper.c +++ b/drivers/gpu/drm/drm_crtc_helper.c @@ -372,11 +372,13 @@ bool drm_crtc_helper_set_mode(struct drm_crtc *crtc, encoder_funcs = encoder->helper_private; if (!(ret = encoder_funcs->mode_fixup(encoder, mode, adjusted_mode))) { + DRM_DEBUG_KMS("Encoder fixup failed\n"); goto done; } } if (!(ret = crtc_funcs->mode_fixup(crtc, mode, adjusted_mode))) { + DRM_DEBUG_KMS("CRTC fixup failed\n"); goto done; } DRM_DEBUG_KMS("[CRTC:%d]\n", crtc->base.id);