drm/rockchip: vop: Default enable win2/3 area0 bit
authorMark Yao <mark.yao@rock-chips.com>
Fri, 26 Jun 2015 10:10:32 +0000 (18:10 +0800)
committerMark Yao <mark.yao@rock-chips.com>
Wed, 26 Aug 2015 06:16:26 +0000 (14:16 +0800)
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>
drivers/gpu/drm/rockchip/rockchip_drm_vop.c

index c1264d58b03b3b893f1866edb4301bc9c1c65995..4a2923b0ee31a9307107a97fc5246d473f05f131 100644 (file)
@@ -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},
 };
 
 /*