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 <angelogioacchino.delregno@somainline.org> Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org> Link: https://lore.kernel.org/r/20210406214726.131534-4-marijn.suijten@somainline.org Signed-off-by: Rob Clark <robdclark@chromium.org>
1 parent 377569f commit 33b2b91

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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)