Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 836e53d7 authored by Adam Jackson's avatar Adam Jackson Committed by Dave Airlie
Browse files

drm: Add KMS debug printk's for encoder and crtc fixup failure



Signed-off-by: default avatarAdam Jackson <ajax@redhat.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 62addcb8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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);