summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/stm
diff options
context:
space:
mode:
authorYannick Fertre <yannick.fertre@foss.st.com>2022-06-03 15:42:50 +0200
committerPhilippe Cornu <philippe.cornu@foss.st.com>2022-06-27 15:53:49 +0200
commitfb37cfa032a90201af45c9e42a8549c57f1de573 (patch)
tree7d3a03ad449debdee7b20cbdafa5329ffe69c875 /drivers/gpu/drm/stm
parentc4f218d46fafd709df8e03c275c4d4ad6ebed019 (diff)
downloadlinux-stable-fb37cfa032a90201af45c9e42a8549c57f1de573.tar.gz
linux-stable-fb37cfa032a90201af45c9e42a8549c57f1de573.tar.bz2
linux-stable-fb37cfa032a90201af45c9e42a8549c57f1de573.zip
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
Diffstat (limited to 'drivers/gpu/drm/stm')
-rw-r--r--drivers/gpu/drm/stm/ltdc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/stm/ltdc.c b/drivers/gpu/drm/stm/ltdc.c
index 0de65be9cd65..703993930a8d 100644
--- a/drivers/gpu/drm/stm/ltdc.c
+++ b/drivers/gpu/drm/stm/ltdc.c
@@ -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;
}