From: Yakir Yang Date: Mon, 6 Jun 2016 07:58:32 +0000 (+0800) Subject: FROMLIST: drm/rockchip: vop: add uv_vir register field for RK3036 VOP X-Git-Tag: firefly_0821_release~2364 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a93e4c6028a06cc23360ab8c65c0216e723e7144;p=firefly-linux-kernel-4.4.55.git FROMLIST: drm/rockchip: vop: add uv_vir register field for RK3036 VOP The WIN0 of RK3036 VOP could support YUV data format, but driver forget to add the uv_vir register field for it. Change-Id: Ie27216d0612d41fec02346ce65412207ed26d4a1 Signed-off-by: Yakir Yang (am from https://patchwork.kernel.org/patch/9157349/) --- diff --git a/drivers/gpu/drm/rockchip/rockchip_vop_reg.c b/drivers/gpu/drm/rockchip/rockchip_vop_reg.c index 9944d64b269d..a3346ba168e4 100644 --- a/drivers/gpu/drm/rockchip/rockchip_vop_reg.c +++ b/drivers/gpu/drm/rockchip/rockchip_vop_reg.c @@ -410,6 +410,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 = {