projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bde4e6
)
drm/rockchip: vop: Initialize vskiplines to zero
author
Mark Yao
<mark.yao@rock-chips.com>
Fri, 29 Apr 2016 07:08:24 +0000
(15:08 +0800)
committer
Huang, Tao
<huangtao@rock-chips.com>
Wed, 4 May 2016 10:29:14 +0000
(18:29 +0800)
There is a path that use vskiplines with non-initialize.
That would cause vop abnormal behavior.
Change-Id: I53c6c575d6acc16aeae761dbb4867f3bc8bfe5ce
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 1a55b9ed15a804079933c84033b0c2277f3901e2..efa92936d303471a27a35416e404aa6e47c7cb8c 100644
(file)
--- a/
drivers/gpu/drm/rockchip/rockchip_drm_vop.c
+++ b/
drivers/gpu/drm/rockchip/rockchip_drm_vop.c
@@
-341,7
+341,7
@@
static void scl_vop_cal_scl_fac(struct vop *vop, struct vop_win *win,
uint16_t vsu_mode;
uint16_t lb_mode;
uint32_t val;
- int vskiplines;
+ int vskiplines
= 0
;
if (!win->phy->scl)
return;