diff options
author | Mark Yao <mark.yao@rock-chips.com> | 2015-06-26 18:10:32 +0800 |
---|---|---|
committer | Mark Yao <mark.yao@rock-chips.com> | 2015-08-26 14:16:26 +0800 |
commit | c1998f08587a252734bad42b66b430f126f2385b (patch) | |
tree | 4ad77b01b01ad34e1a3865ca4ad0e48837facbae /drivers/gpu/drm/rockchip | |
parent | 84c7f8ca43000ee97e556bddbbc4543e2514239d (diff) | |
download | op-kernel-dev-c1998f08587a252734bad42b66b430f126f2385b.zip op-kernel-dev-c1998f08587a252734bad42b66b430f126f2385b.tar.gz |
drm/rockchip: vop: Default enable win2/3 area0 bit
Win2/3 support multiple area function, but we haven't found
a suitable way to use it yet, so let's just use them as other windows
with only area 0 enabled.
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
Diffstat (limited to 'drivers/gpu/drm/rockchip')
-rw-r--r-- | drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c b/drivers/gpu/drm/rockchip/rockchip_drm_vop.c index c1264d5..4a2923b 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c +++ b/drivers/gpu/drm/rockchip/rockchip_drm_vop.c @@ -279,6 +279,12 @@ static const struct vop_reg_data vop_init_reg_table[] = { {DSP_CTRL0, 0x00000000}, {WIN0_CTRL0, 0x00000080}, {WIN1_CTRL0, 0x00000080}, + /* TODO: Win2/3 support multiple area function, but we haven't found + * a suitable way to use it yet, so let's just use them as other windows + * with only area 0 enabled. + */ + {WIN2_CTRL0, 0x00000010}, + {WIN3_CTRL0, 0x00000010}, }; /* |