diff --git a/drivers/gpu/drm/rockchip/rockchip_vop2_reg.c b/drivers/gpu/drm/rockchip/rockchip_vop2_reg.c index 42507d3060f0..29277c969ecf 100644 --- a/drivers/gpu/drm/rockchip/rockchip_vop2_reg.c +++ b/drivers/gpu/drm/rockchip/rockchip_vop2_reg.c @@ -1084,15 +1084,15 @@ static const struct vop2_win_data rk3568_vop_win_data[] = { }, { - .name = "Esmart1-win0", - .phys_id = 3, - .formats = formats_win_full_10bit, - .nformats = ARRAY_SIZE(formats_win_full_10bit), + .name = "Smart0-win0", + .phys_id = 4, + .base = 0x400, + .formats = formats_win_lite, + .nformats = ARRAY_SIZE(formats_win_lite), .format_modifiers = format_modifiers, - .base = 0x200, - .layer_sel_id = 6, + .layer_sel_id = 3, /* RK3568, RK3566 */ - .possible_crtcs = { 0x7, 0x1 }, + .possible_crtcs = { 0x7, 0x2 }, .supported_rotations = DRM_MODE_REFLECT_Y, .hsu_filter_mode = VOP2_SCALE_UP_BIC, .hsd_filter_mode = VOP2_SCALE_DOWN_BIL, @@ -1108,15 +1108,15 @@ static const struct vop2_win_data rk3568_vop_win_data[] = { }, { - .name = "Smart0-win0", - .phys_id = 4, - .base = 0x400, - .formats = formats_win_lite, - .nformats = ARRAY_SIZE(formats_win_lite), + .name = "Esmart1-win0", + .phys_id = 3, + .formats = formats_win_full_10bit, + .nformats = ARRAY_SIZE(formats_win_full_10bit), .format_modifiers = format_modifiers, - .layer_sel_id = 3, + .base = 0x200, + .layer_sel_id = 6, /* RK3568, RK3566 */ - .possible_crtcs = { 0x7, 0x2 }, + .possible_crtcs = { 0x7, 0x1 }, .supported_rotations = DRM_MODE_REFLECT_Y, .hsu_filter_mode = VOP2_SCALE_UP_BIC, .hsd_filter_mode = VOP2_SCALE_DOWN_BIL,