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:
e90650e
)
video: rockchip: vop: 3399: fix afbdc abnormal
author
Mark Yao
<mark.yao@rock-chips.com>
Mon, 18 Apr 2016 10:28:27 +0000
(18:28 +0800)
committer
Mark Yao
<mark.yao@rock-chips.com>
Mon, 18 Apr 2016 10:29:35 +0000
(18:29 +0800)
The vop mask write need use u64 value.
Change-Id: I020fdf4e7115b2763dd732be6542589f61190f4a
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
drivers/video/rockchip/lcdc/rk322x_lcdc.c
patch
|
blob
|
history
diff --git
a/drivers/video/rockchip/lcdc/rk322x_lcdc.c
b/drivers/video/rockchip/lcdc/rk322x_lcdc.c
index c9b9c0ec48650d761361b40773b6187c65054ce0..cb7a4cf8e2b31a4640138ea9307d65da80071a1c 100644
(file)
--- a/
drivers/video/rockchip/lcdc/rk322x_lcdc.c
+++ b/
drivers/video/rockchip/lcdc/rk322x_lcdc.c
@@
-1306,7
+1306,7
@@
static int vop_axi_gather_cfg(struct vop_device *vop_dev,
static int vop_fbdc_reg_update(struct vop_device *vop_dev, int win_id)
{
struct rk_lcdc_win *win = vop_dev->driver.win[win_id];
- u
32
val;
+ u
64
val;
val = V_VOP_FBDC_WIN_SEL(win_id) |
V_AFBCD_HREG_PIXEL_PACKING_FMT(win->area[0].fbdc_fmt_cfg) |