commit | b55462afc720b61348c14c519b05ea9106f2bc3d | [log] [tgz] |
---|---|---|
author | Jeremy Gebben <jgebben@codeaurora.org> | Mon Nov 12 16:11:53 2012 -0700 |
committer | Jeremy Gebben <jgebben@codeaurora.org> | Tue Mar 12 14:03:54 2013 -0600 |
tree | 75d7e398fc4d9e36eca86d7d220d0684b92a731e | |
parent | 57980d79f48b8bf16647979df2e103702d11e49c [diff] |
msm: kgsl: clean up iommu/gpummu protflag handling Make kgsl_memdesc_protflags() return the correct type of flags for the type of mmu being used. Query the memdesc with this function in kgsl_mmu_map(), rather than passing in the protflags. This prevents translation at multiple layers of the code and makes it easier to enforce that the mapping matches the allocation flags. Change-Id: I2a2f4a43026ae903dd134be00e646d258a83f79f Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org>