commit | 6f46996f3159ec0b405e3aff2cccb4fd1012941d | [log] [tgz] |
---|---|---|
author | Jeremy Gebben <jgebben@codeaurora.org> | Tue Sep 25 09:56:11 2012 -0600 |
committer | Jeremy Gebben <jgebben@codeaurora.org> | Mon Oct 15 13:17:10 2012 -0600 |
tree | b1cc6f11fcfdfeae21d1ef8a31920649298371cf | |
parent | fd76fc35f6acb1b097029aafe842b80e60798caf [diff] |
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: Jeremy Gebben <jgebben@codeaurora.org>