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

Commit 8ce44c5b authored by Nirmal Abraham's avatar Nirmal Abraham Committed by Gerrit - the friendly Code Review server
Browse files

fbdev: msm: Disable EARLY_MAP setting at bootup



Disable the SMMU EARLY_MAP attribute for MDP Unsecure CB
at bootup for continuous splash disabled case. Keeping it
enabled causes SMMU to access the cpu_addr instead of
dma_addr in subsequent memory access resulting in DSI
and MDP failures.

Change-Id: Ica1b29f5862459b71bc6e7ab944eaabd57299028
Signed-off-by: default avatarNirmal Abraham <nabrah@codeaurora.org>
parent da2a0248
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1507,6 +1507,12 @@ int mdss_mdp_overlay_start(struct msm_fb_data_type *mfd)
			goto end;
		}
		mdss_hw_init(mdss_res);
		/*
		 * As splash is not enabled, disable EARLY_MAP setting which was
		 * enabled through DT before first kickoff.
		 */
		mdss_smmu_set_attribute(MDSS_IOMMU_DOMAIN_UNSECURE,
					 EARLY_MAP, 0);
		mdss_iommu_ctrl(0);
	}