Skip to content

Commit 33b2b91

Browse files
kholkrobclark
authored andcommitted
drm/msm/mdp5: Disable pingpong autorefresh at tearcheck init
If pp autorefresh is up (from bootloader splash), we will surely get vblank and pp timeouts. Ensure it is turned off. Signed-off-by: AngeloGioacchino Del Regno <[email protected]> Signed-off-by: Marijn Suijten <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Clark <[email protected]>
1 parent 377569f commit 33b2b91

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpu/drm/msm/disp/mdp5/mdp5_cmd_encoder.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ static int pingpong_tearcheck_setup(struct drm_encoder *encoder,
6767
mdp5_write(mdp5_kms, REG_MDP5_PP_SYNC_THRESH(pp_id),
6868
MDP5_PP_SYNC_THRESH_START(4) |
6969
MDP5_PP_SYNC_THRESH_CONTINUE(4));
70+
mdp5_write(mdp5_kms, REG_MDP5_PP_AUTOREFRESH_CONFIG(pp_id), 0x0);
7071

7172
return 0;
7273
}

0 commit comments

Comments
 (0)