Skip to content

Commit c766998

Browse files
Andy Yanmmind
authored andcommitted
drm/rockchip: vop2: Setup delay cycle for Esmart2/3
Each layer needs to set the correct delay cycle to display properly without unexpected offset on screen. Fixes: 5a028e8 ("drm/rockchip: vop2: Add support for rk3588") Signed-off-by: Andy Yan <[email protected]> Tested-by: Derek Foreman <[email protected]> Tested-by: Detlev Casanova <[email protected]> Signed-off-by: Heiko Stuebner <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 7b25688 commit c766998

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/gpu/drm/rockchip/rockchip_drm_vop2.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2704,9 +2704,11 @@ static void vop2_setup_dly_for_windows(struct vop2 *vop2)
27042704
sdly |= FIELD_PREP(RK3568_SMART_DLY_NUM__ESMART1, dly);
27052705
break;
27062706
case ROCKCHIP_VOP2_SMART0:
2707+
case ROCKCHIP_VOP2_ESMART2:
27072708
sdly |= FIELD_PREP(RK3568_SMART_DLY_NUM__SMART0, dly);
27082709
break;
27092710
case ROCKCHIP_VOP2_SMART1:
2711+
case ROCKCHIP_VOP2_ESMART3:
27102712
sdly |= FIELD_PREP(RK3568_SMART_DLY_NUM__SMART1, dly);
27112713
break;
27122714
}

0 commit comments

Comments
 (0)