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>
This commit is contained in:
parent
377569f82e
commit
33b2b91e34
|
@ -67,6 +67,7 @@ static int pingpong_tearcheck_setup(struct drm_encoder *encoder,
|
||||||
mdp5_write(mdp5_kms, REG_MDP5_PP_SYNC_THRESH(pp_id),
|
mdp5_write(mdp5_kms, REG_MDP5_PP_SYNC_THRESH(pp_id),
|
||||||
MDP5_PP_SYNC_THRESH_START(4) |
|
MDP5_PP_SYNC_THRESH_START(4) |
|
||||||
MDP5_PP_SYNC_THRESH_CONTINUE(4));
|
MDP5_PP_SYNC_THRESH_CONTINUE(4));
|
||||||
|
mdp5_write(mdp5_kms, REG_MDP5_PP_AUTOREFRESH_CONFIG(pp_id), 0x0);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue