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:
dcb6db6
)
video: rockchip: vop: 3399: add parse dsp mode for VR
author
Huang Jiachai
<hjc@rock-chips.com>
Thu, 8 Sep 2016 08:32:17 +0000
(16:32 +0800)
committer
Huang, Tao
<huangtao@rock-chips.com>
Fri, 9 Sep 2016 08:29:21 +0000
(16:29 +0800)
Change-Id: Ia3d11083a87742344c790044658b3ff61d29c091
Signed-off-by: Huang Jiachai <hjc@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 d5a5f42cbf3cc4f3e225e610038d457d4e5296c1..e99d1eea983aee02a4b47ae754416f811f701bcd 100644
(file)
--- a/
drivers/video/rockchip/lcdc/rk322x_lcdc.c
+++ b/
drivers/video/rockchip/lcdc/rk322x_lcdc.c
@@
-4961,6
+4961,12
@@
static int vop_parse_dt(struct vop_device *vop_dev)
dev_drv->iommu_enabled = 0;
else
dev_drv->iommu_enabled = val;
+
+ if (of_property_read_u32(np, "rockchip,dsp_mode", &val))
+ dev_drv->dsp_mode = DEFAULT_MODE;
+ else
+ dev_drv->dsp_mode = val;
+
return 0;
}