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

Skip to content
Commit 32c02eeb authored by Rajesh Kemisetti's avatar Rajesh Kemisetti Committed by Gerrit - the friendly Code Review server
Browse files

msm: kgsl: Add support to make use of iommu_unmap_fast



iommu_unmap() generally does two things:
  - Removes the memory entry from pagetable.
  - Triggers TLB invalidation sequence by voting
    respective regulator and clocks of SMMU.

SMMU HW also does invalidation of its caches across
power collapse, so the second step in iommu_unmap()
is redundant if SMMU is already in power collapsed state.

Try to skip TLB invalidation by calling iommu_unmap_fast()
when we know that SMMU regulator is already in OFF state.

Change-Id: Idf93eab51e5db1ac8a1b8d922b3fdae64e5266ca
Signed-off-by: default avatarRajesh Kemisetti <rajeshk@codeaurora.org>
parent 2e7f5378
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment