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

Commit 0d32ab71 authored by Sandeep Panda's avatar Sandeep Panda Committed by Gerrit - the friendly Code Review server
Browse files

msm: mdss: correct initialization of iommu domain for mdp3



Currently both the iommu domains are initialized to
non-secure domains, which is causing XPU violation
during boot up. This change ensures proper initialization
of iommu domain in 8909 mdp3 driver.

Change-Id: Ic47052aca948c862a88336c455e54986cb772408
Signed-off-by: default avatarSandeep Panda <spanda@codeaurora.org>
parent 3fe27d48
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -787,7 +787,7 @@ int mdp3_iommu_domain_init(void)
		layout.client_name = mdp3_iommu_domains[i].client_name;
		layout.partitions = mdp3_iommu_domains[i].partitions;
		layout.npartitions = mdp3_iommu_domains[i].npartitions;
		layout.is_secure = false;
		layout.is_secure = (i == MDP3_IOMMU_DOMAIN_SECURE);

		domain_idx = msm_register_domain(&layout);
		if (IS_ERR_VALUE(domain_idx))