提交 2db00cf5 编写于 作者: M 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: NMark Yao <mark.yao@rock-chips.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册