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

Skip to content
Commit 669c1384 authored by Jordan Crouse's avatar Jordan Crouse
Browse files

msm: kgsl: Cleanup iommu device tree probe



We only ever have two sub-devices for IOMMU, one device for the user
context and an optional entry for the secure context. Instead of
blindly querying for compatibles and try to match the string names,
explicitly search for the device names we need and set them up that
way.

This cleanup also lets us swap the behavior of the mmu.secured flag.
We assume it to be true and then clear it if the secure context is
not found rather than the other way around. This allows us to make
sure that the flag is set correctly during probe so we can skip
secure context setup.

Change-Id: Ic0dedbad540733a1eaf1729ddec0031f397d9e43
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent 7531776c
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