Commit 2db00cf5 authored by Mark Yao's avatar Mark Yao

drm/rockchip: vop: Initialize vskiplines to zero

There is a path that use vskiplines with non-initialize.
That would cause vop abnormal behavior.
Signed-off-by: default avatarMark Yao <mark.yao@rock-chips.com>
parent 44d0237a
...@@ -310,7 +310,7 @@ static void scl_vop_cal_scl_fac(struct vop *vop, const struct vop_win_data *win, ...@@ -310,7 +310,7 @@ static void scl_vop_cal_scl_fac(struct vop *vop, const struct vop_win_data *win,
uint16_t vsu_mode; uint16_t vsu_mode;
uint16_t lb_mode; uint16_t lb_mode;
uint32_t val; uint32_t val;
int vskiplines; int vskiplines = 0;
if (dst_w > 3840) { if (dst_w > 3840) {
DRM_ERROR("Maximum destination width (3840) exceeded\n"); DRM_ERROR("Maximum destination width (3840) exceeded\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment