drm/stm: ltdc: remove error message about scaling

Remove error message about scaling & replace it by a debug
message to avoid too much error.

Signed-off-by: Yannick Fertre <yannick.fertre@foss.st.com>
Acked-by: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
Signed-off-by: Philippe Cornu <philippe.cornu@foss.st.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220603134250.592408-1-yannick.fertre@foss.st.com
This commit is contained in:
Yannick Fertre 2022-06-03 15:42:50 +02:00 committed by Philippe Cornu
parent c4f218d46f
commit fb37cfa032
1 changed files with 2 additions and 1 deletions

View File

@ -1218,7 +1218,8 @@ static int ltdc_plane_atomic_check(struct drm_plane *plane,
/* Reject scaling */
if (src_w != new_plane_state->crtc_w || src_h != new_plane_state->crtc_h) {
DRM_ERROR("Scaling is not supported");
DRM_DEBUG_DRIVER("Scaling is not supported");
return -EINVAL;
}