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

Commit dad4dd6e authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

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

parents d625eecf bd788608
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;