Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c5c36cb0 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

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

parents 3c15507f 63bcfad0
Loading
Loading
Loading
Loading
+12 −0
Original line number Original line Diff line number Diff line
@@ -2600,6 +2600,18 @@ int mdss_mdp_overlay_kickoff(struct msm_fb_data_type *mfd,
	ATRACE_END("display_wait4comp");
	ATRACE_END("display_wait4comp");
	mdss_mdp_splash_cleanup(mfd, true);
	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.
	 * Configure Timing Engine, if new fps was set.
	 * We need to do this after the wait for vsync
	 * We need to do this after the wait for vsync