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

Commit 5dce71ba authored by Jeremy Gebben's avatar Jeremy Gebben Committed by Tarun Karra
Browse files

msm: kgsl: redo iommu self programming



Use attributes from the iommu domain to retrieve proper TTBR0 and
CONTEXTIDR values, rather than reading registers and using our
own field masks.

Use the DYNAMIC attribute when creating per-process domains.
This allows the iommu driver to configure the domain's pagetable
before we create mappings. It also allows the iommu driver to issue
TLBI command during iommu_unmap calls for a per-process domain.
This removes the need for dodgy TLBIALL commands from kgsl after
iommu_unmap() returns.

Change-Id: Ie3a24a1ae9fb768d78c6ec18ab739e689c4d8f32
Signed-off-by: default avatarJeremy Gebben <jgebben@codeaurora.org>
parent c3d6b932
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