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

Commit ba429748 authored by Casey Piper's avatar Casey Piper Committed by Gerrit - the friendly Code Review server
Browse files

msm: mdss: Delay overlay start until first update



Delay hardware initialization in the case of
hdmi until after after continuous splash
screen is completed. This delays iommu attach
and prevents corresponding page faults
caused by continuous splash screen use
of physical address.

Change-Id: Ia1f81544c7f32be1ac9e7513bb277ee88b612bed
Signed-off-by: default avatarCasey Piper <cpiper@codeaurora.org>
parent 66d0b021
Loading
Loading
Loading
Loading
+4 −3
Original line number Original line 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;
		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);
		rc = mdss_mdp_overlay_start(mfd);
		if (!IS_ERR_VALUE(rc) && (mfd->panel_info->type != DTV_PANEL) &&
		if (!IS_ERR_VALUE(rc))
			(mfd->panel_info->type != WRITEBACK_PANEL))
			rc = mdss_mdp_overlay_kickoff(mfd);
			rc = mdss_mdp_overlay_kickoff(mfd);
	} else {
	} else {
		rc = mdss_mdp_ctl_setup(mdp5_data->ctl);
		rc = mdss_mdp_ctl_setup(mdp5_data->ctl);