mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 09:14:19 +08:00
drm: Add KMS debug printk's for encoder and crtc fixup failure
Signed-off-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
62addcb8c1
commit
836e53d758
@ -372,11 +372,13 @@ bool drm_crtc_helper_set_mode(struct drm_crtc *crtc,
|
|||||||
encoder_funcs = encoder->helper_private;
|
encoder_funcs = encoder->helper_private;
|
||||||
if (!(ret = encoder_funcs->mode_fixup(encoder, mode,
|
if (!(ret = encoder_funcs->mode_fixup(encoder, mode,
|
||||||
adjusted_mode))) {
|
adjusted_mode))) {
|
||||||
|
DRM_DEBUG_KMS("Encoder fixup failed\n");
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(ret = crtc_funcs->mode_fixup(crtc, mode, adjusted_mode))) {
|
if (!(ret = crtc_funcs->mode_fixup(crtc, mode, adjusted_mode))) {
|
||||||
|
DRM_DEBUG_KMS("CRTC fixup failed\n");
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
DRM_DEBUG_KMS("[CRTC:%d]\n", crtc->base.id);
|
DRM_DEBUG_KMS("[CRTC:%d]\n", crtc->base.id);
|
||||||
|
Loading…
Reference in New Issue
Block a user