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

Skip to content
Commit 630e066c authored by Jeremy Gebben's avatar Jeremy Gebben Committed by Stephen Boyd
Browse files

msm: kgsl: use readonly mappings on the iommu



Userspace passes a flag KGSL_MEMFLAGS_GPUREADONLY when
the gpu should not write to a memory region. Use this
flag to control IOMMU_WRITE permissions on the buffer.

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