Merge "msm: mdss: wait for one commit transfer for command mode after resume"

This commit is contained in:
Linux Build Service Account 2017-04-18 06:29:40 -07:00 committed by Gerrit - the friendly Code Review server
commit c5c36cb00b

View file

@ -2600,6 +2600,18 @@ int mdss_mdp_overlay_kickoff(struct msm_fb_data_type *mfd,
ATRACE_END("display_wait4comp");
mdss_mdp_splash_cleanup(mfd, true);
/*
* Wait for pingpong done only during resume for
* command mode panels. Ensure that one commit is
* sent before kickoff completes so that backlight
* update happens after it.
*/
if (mdss_fb_is_power_off(mfd) &&
mfd->panel_info->type == MIPI_CMD_PANEL) {
pr_debug("wait for pp done after resume for cmd mode\n");
mdss_mdp_display_wait4pingpong(ctl, true);
}
/*
* Configure Timing Engine, if new fps was set.
* We need to do this after the wait for vsync