drm/rockchip: vop: Init vskiplines in scl_vop_cal_scale()
authorJeffy Chen <jeffy.chen@rock-chips.com>
Fri, 23 Feb 2018 06:22:50 +0000 (14:22 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 1 Mar 2018 13:24:49 +0000 (14:24 +0100)
commitce91d373d870b69b5dbbac033d8411ef0c16ac6f
tree3f6502f79b0307157b6ffd39cda1fdd619f11862
parent7d4e981d41e3338699d43803bf28d21b087cbbea
drm/rockchip: vop: Init vskiplines in scl_vop_cal_scale()

Currently we are calling scl_vop_cal_scale() to get vskiplines for yrgb
and cbcr. So the cbcr's vskiplines might be an unexpected value if the
second scl_vop_cal_scale() didn't update it.

Init vskiplines in scl_vop_cal_scale() to avoid that.

Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20180223062250.10470-1-jeffy.chen@rock-chips.com
drivers/gpu/drm/rockchip/rockchip_drm_vop.c