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

Commit f9ddd03f authored by Mitchel Humpherys's avatar Mitchel Humpherys Committed by Narendra Muppalla
Browse files

msm: mdss: Remove obsolete IOMMU domain attribute



The DOMAIN_ATTR_COHERENT_HTW_DISABLE IOMMU domain attribute is being
removed.  SMMU coherency will be configured through the SMMU device tree
nodes moving forward.  Remove the obsolete option.

Change-Id: Ie1dbb942949265a06a8b091f390610ef56cc29d2
Signed-off-by: default avatarMitchel Humpherys <mitchelh@codeaurora.org>
Signed-off-by: default avatarNarendra Muppalla <NarendraM@codeaurora.org>
parent 360f01b0
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -511,7 +511,6 @@ int sde_smmu_probe(struct platform_device *pdev)
	struct sde_smmu_domain smmu_domain;
	const struct of_device_id *match;
	struct sde_module_power *mp;
	int disable_htw = 1;
	char name[MAX_CLIENT_NAME_LEN];

	if (!mdata) {
@@ -600,13 +599,6 @@ int sde_smmu_probe(struct platform_device *pdev)
		goto disable_power;
	}

	rc = iommu_domain_set_attr(sde_smmu->mmu_mapping->domain,
		DOMAIN_ATTR_COHERENT_HTW_DISABLE, &disable_htw);
	if (rc) {
		SDEROT_ERR("couldn't disable coherent HTW\n");
		goto release_mapping;
	}

	if (smmu_domain.domain == SDE_IOMMU_DOMAIN_ROT_SECURE) {
		int secure_vmid = VMID_CP_PIXEL;