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

Commit bd788608 authored by Jayaprakash's avatar Jayaprakash
Browse files

msm: mdss: delay overlay start until first update for external



Delay hardware initialization in the case of external display
until after continuous splash screen is completed. This delay
ensures iommu attach, clock update and bandwidth voting do not
happen until splash handoff is completed for primary display.

Change-Id: Ic974a748ee03dbc4cd690572841140e3eac48c39
Signed-off-by: default avatarSandeep Panda <spanda@codeaurora.org>
Signed-off-by: default avatarJayaprakash <jmadiset@codeaurora.org>
parent 51683be8
Loading
Loading
Loading
Loading
+4 −10
Original line number Diff line number Diff line
@@ -5936,18 +5936,12 @@ static int mdss_mdp_overlay_on(struct msm_fb_data_type *mfd)
		NULL, false);
	if (rc)
		goto panel_on;

	/* Skip the overlay start and kickoff for all displays
	 * if handoff is pending. Previously we skipped it for DTV
	 * panel and pluggable panels (bridge chip hdmi case). But
	 * it does not cover the case where there is a non pluggable
	 * tertiary display. Using the flag handoff_pending to skip
	 * overlay start and kickoff should cover all cases
	 * TODO: In the long run, the overlay start and kickoff
	 * should not be skipped, instead, the handoff can be done
	/*Skip the overlay start and kickoff for DTV panel and
	 * pluggable panels (bridge chip hdmi case).
	 */
	if (!mfd->panel_info->cont_splash_enabled &&
		!mdata->handoff_pending) {
		(mfd->panel_info->type != DTV_PANEL) &&
		!mfd->panel_info->is_pluggable) {
		rc = mdss_mdp_overlay_start(mfd);
		if (rc)
			goto end;