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:
d32160c
)
drm/rockchip: vop: fix vtotal calc mistake on interlace mode
author
Mark Yao
<mark.yao@rock-chips.com>
Wed, 26 Apr 2017 03:10:20 +0000
(11:10 +0800)
committer
Huang, Tao
<huangtao@rock-chips.com>
Wed, 26 Apr 2017 08:30:30 +0000
(16:30 +0800)
Change-Id: I820d439735dddeaaa5db5fc75356e242a9d77656
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 1670584706751d476658d0f835c0ea8a8eb2fa50..7c125decacc0ec6f1f8b863441685d8d891564b0 100644
(file)
--- a/
drivers/gpu/drm/rockchip/rockchip_drm_vop.c
+++ b/
drivers/gpu/drm/rockchip/rockchip_drm_vop.c
@@
-1598,7
+1598,7
@@
static void vop_crtc_enable(struct drm_crtc *crtc)
VOP_CTRL_SET(vop, vs_st_end_f1, val);
VOP_CTRL_SET(vop, dsp_interlace, 1);
VOP_CTRL_SET(vop, p2i_en, 1);
- vtotal = vtotal + 1;
+ vtotal
+
= vtotal + 1;
} else {
VOP_CTRL_SET(vop, dsp_interlace, 0);
VOP_CTRL_SET(vop, p2i_en, 0);