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

Commit 848d4898 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: kgsl: Enable the iommu halt feature for certain IOMMU versions"

parents d2260074 e34ef247
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1165,7 +1165,8 @@ static int kgsl_set_register_map(struct kgsl_mmu *mmu)
		if (ret)
			goto err;

		iommu_unit->iommu_halt_enable = data.iommu_halt_enable;
		if (!msm_soc_version_supports_iommu_v0())
			iommu_unit->iommu_halt_enable = 1;
		iommu_unit->ahb_base = data.physstart - mmu->device->reg_phys;
	}
	iommu->unit_count = pdata_dev->iommu_count;