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

Commit 060948e7 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: Delay overlay start until first update"

parents 3197cd4b ba429748
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -2203,10 +2203,11 @@ static int mdss_mdp_overlay_on(struct msm_fb_data_type *mfd)
		mdp5_data->ctl = ctl;
	}

	if (!mfd->panel_info->cont_splash_enabled) {
	if (!mfd->panel_info->cont_splash_enabled &&
		(mfd->panel_info->type != DTV_PANEL) &&
		(mfd->panel_info->type != WRITEBACK_PANEL)) {
		rc = mdss_mdp_overlay_start(mfd);
		if (!IS_ERR_VALUE(rc) && (mfd->panel_info->type != DTV_PANEL) &&
			(mfd->panel_info->type != WRITEBACK_PANEL))
		if (!IS_ERR_VALUE(rc))
			rc = mdss_mdp_overlay_kickoff(mfd);
	} else {
		rc = mdss_mdp_ctl_setup(mdp5_data->ctl);