From: Mark Yao Date: Fri, 31 Mar 2017 03:32:59 +0000 (+0800) Subject: drm/rockchip: vop: correct rk3328 vop windows X-Git-Tag: firefly_0821_release~147 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=85fc90289ad55d04eabb2ee40d624b83d2d356fa;p=firefly-linux-kernel-4.4.55.git drm/rockchip: vop: correct rk3328 vop windows Rk3328 only have three windows, it's mistake add four windows. Change-Id: I2a9495c6be407d12dbc9033f44a4cd6b2f54ff1a Signed-off-by: Mark Yao --- diff --git a/drivers/gpu/drm/rockchip/rockchip_vop_reg.c b/drivers/gpu/drm/rockchip/rockchip_vop_reg.c index 9c257abd3a62..9b3583556a08 100644 --- a/drivers/gpu/drm/rockchip/rockchip_vop_reg.c +++ b/drivers/gpu/drm/rockchip/rockchip_vop_reg.c @@ -611,8 +611,6 @@ static const struct vop_win_data rk3328_vop_win_data[] = { { .base = 0x1d0, .phy = &rk3288_win01_data, .type = DRM_PLANE_TYPE_OVERLAY }, { .base = 0x2d0, .phy = &rk3288_win01_data, - .type = DRM_PLANE_TYPE_OVERLAY }, - { .base = 0x3d0, .phy = &rk3288_win01_data, .type = DRM_PLANE_TYPE_CURSOR }, };