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

Skip to content
Commit 63d809e8 authored by Shrenuj Bansal's avatar Shrenuj Bansal
Browse files

msm: kgsl: Check if the iommu_device per ctxt is attached



Check if the iommu_device for each context is attached before
trying to read/write to any context registers. This is to prevent
us from writing to CB2 registers which have been locked down by
TZ and would generate XPU violations.

Change-Id: I202d9565625537025286386ba34e20da7e77277e
Signed-off-by: default avatarShrenuj Bansal <shrenujb@codeaurora.org>
parent 286b0d28
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