]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/stm: ltdc: remove error message about scaling
authorYannick Fertre <yannick.fertre@foss.st.com>
Fri, 3 Jun 2022 13:42:50 +0000 (15:42 +0200)
committerPhilippe Cornu <philippe.cornu@foss.st.com>
Mon, 27 Jun 2022 13:53:49 +0000 (15:53 +0200)
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
drivers/gpu/drm/stm/ltdc.c

index 0de65be9cd65fc1f59b87c547e27a6686fce228f..703993930a8d4b2852d73a1a65f4f7a08c91f42e 100644 (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;
        }