projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44d0237
)
drm/rockchip: vop: Initialize vskiplines to zero
author
Mark Yao
<mark.yao@rock-chips.com>
Fri, 29 Apr 2016 07:39:53 +0000
(15:39 +0800)
committer
Mark Yao
<mark.yao@rock-chips.com>
Tue, 3 May 2016 06:11:23 +0000
(14:11 +0800)
There is a path that use vskiplines with non-initialize.
That would cause vop abnormal behavior.
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
drivers/gpu/drm/rockchip/rockchip_drm_vop.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c
b/drivers/gpu/drm/rockchip/rockchip_drm_vop.c
index 8652bb132395f58547f6bd5a15ddd6d4c6cc4b4f..bf55cda356ba6b078a8f7e68c94717fdbdf4ad27 100644
(file)
--- a/
drivers/gpu/drm/rockchip/rockchip_drm_vop.c
+++ b/
drivers/gpu/drm/rockchip/rockchip_drm_vop.c
@@
-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 lb_mode;
uint32_t val;
- int vskiplines;
+ int vskiplines
= 0
;
if (dst_w > 3840) {
DRM_ERROR("Maximum destination width (3840) exceeded\n");