Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 86cd9002 authored by John Stultz's avatar John Stultz Committed by Daniel Vetter
Browse files

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 <z.liuxinliang@hisilicon.com>
Cc: Rongrong Zou <zourongrong@gmail.com>
Cc: Xinwei Kong <kong.kongxinwei@hisilicon.com>
Cc: Chen Feng <puck.chen@hisilicon.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Peter Griffin <peter.griffin@linaro.org>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: default avatarJohn Stultz <john.stultz@linaro.org>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/1529622076-20386-1-git-send-email-john.stultz@linaro.org
parent d30827ce
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -859,7 +859,6 @@ static int ade_plane_atomic_check(struct drm_plane *plane,
		return PTR_ERR(crtc_state);
		return PTR_ERR(crtc_state);


	if (src_w != crtc_w || src_h != crtc_h) {
	if (src_w != crtc_w || src_h != crtc_h) {
		DRM_ERROR("Scale not support!!!\n");
		return -EINVAL;
		return -EINVAL;
	}
	}