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

Commit 54ce1b30 authored by Shrenuj Bansal's avatar Shrenuj Bansal
Browse files

msm: kgsl: Add SMMU pagetable update commands for A6x



A6x uses the same pagetable update command as A5x.

Change-Id: I615c8869f41b47d0e2b9598ebe6869d652d2e191
Signed-off-by: default avatarShrenuj Bansal <shrenujb@codeaurora.org>
parent e6ccf71c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -601,7 +601,7 @@ unsigned int adreno_iommu_set_pt_generate_cmds(
		iommu->setstate.gpuaddr + KGSL_IOMMU_SETSTATE_NOP_OFFSET);

	if (iommu->version >= 2) {
		if (adreno_is_a5xx(adreno_dev))
		if (adreno_is_a5xx(adreno_dev) || adreno_is_a6xx(adreno_dev))
			cmds += _adreno_iommu_set_pt_v2_a5xx(device, cmds,
						ttbr0, contextidr, rb);
		else if (adreno_is_a4xx(adreno_dev))