From: John Stultz Date: Thu, 21 Jun 2018 23:01:16 +0000 (-0700) Subject: drm: kirin: Remove useless "Scale not support" error message X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=86cd90020688ee8b45268e588a05454cbe979cb7;p=openwrt%2Fstaging%2Fblogic.git drm: kirin: Remove useless "Scale not support" error message The driver doesn't support scaling, but when an atomic test is done it repeatedly spits out this warning which isn't particularly useful. So just remove the error message. Cc: Xinliang Liu Cc: Rongrong Zou Cc: Xinwei Kong Cc: Chen Feng Cc: David Airlie Cc: Daniel Vetter Cc: Peter Griffin Cc: dri-devel@lists.freedesktop.org Signed-off-by: John Stultz Signed-off-by: Daniel Vetter Link: https://patchwork.freedesktop.org/patch/msgid/1529622076-20386-1-git-send-email-john.stultz@linaro.org --- diff --git a/drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c b/drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c index 2269be91f3e1..bb774202a5a1 100644 --- a/drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c +++ b/drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c @@ -859,7 +859,6 @@ static int ade_plane_atomic_check(struct drm_plane *plane, return PTR_ERR(crtc_state); if (src_w != crtc_w || src_h != crtc_h) { - DRM_ERROR("Scale not support!!!\n"); return -EINVAL; }