drm/rockchip: vop: add uv_vir register field for RK3036 VOP
authorYakir Yang <ykk@rock-chips.com>
Mon, 6 Jun 2016 07:58:32 +0000 (15:58 +0800)
committerMark Yao <mark.yao@rock-chips.com>
Tue, 19 Jul 2016 01:42:20 +0000 (09:42 +0800)
The WIN0 of RK3036 VOP could support YUV data format, but driver
forget to add the uv_vir register field for it.

Signed-off-by: Yakir Yang <ykk@rock-chips.com>
drivers/gpu/drm/rockchip/rockchip_vop_reg.c

index 52661d116ec2d4b220b33a1e355fc9abb2c1e655..a348a7ae42e4fcd88828245c829c03925c0ba7cc 100644 (file)
@@ -210,6 +210,7 @@ static const struct vop_win_phy rk3036_win0_data = {
        .yrgb_mst = VOP_REG(RK3036_WIN0_YRGB_MST, 0xffffffff, 0),
        .uv_mst = VOP_REG(RK3036_WIN0_CBR_MST, 0xffffffff, 0),
        .yrgb_vir = VOP_REG(RK3036_WIN0_VIR, 0xffff, 0),
+       .uv_vir = VOP_REG(RK3036_WIN0_VIR, 0x1fff, 16),
 };
 
 static const struct vop_win_phy rk3036_win1_data = {