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

Commit b479ec36 authored by Benet Clark's avatar Benet Clark
Browse files

msm: mdss: Allow writeback panel to start overlay during handoff



There is no longer a need to delay the hardware initialization for WB.
Previously, iommu attach was done automatically in overlay_start,
which caused page faults. However, now the iommu is attached at the same
time as continuous splash handoff, which prevents any unwanted page
faults.

Change-Id: I79f021da1ada7e342b9db84167032df5ac840e4e
Signed-off-by: default avatarBenet Clark <benetc@codeaurora.org>
parent 33197d65
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -2525,10 +2525,10 @@ static int mdss_mdp_overlay_on(struct msm_fb_data_type *mfd)
	}

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