mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 04:42:12 +00:00
7ad0e8cf63
Add a reference count to track how many times a particular chunk of iova memory is pinned (mapped) in the iomu and add msm_gem_unpin_iova to give up references. It is important to note that msm_gem_unpin_iova replaces msm_gem_put_iova because the new implicit behavior that an assigned iova in a given vma is now valid for the life of the buffer and what we are really focusing on is the use of that iova. For now the unmappings are lazy; once the reference counts go to zero they *COULD* be unmapped dynamically but that will require an outside force such as a shrinker or mm_notifiers. For now, we're just focusing on getting the counting right and setting ourselves up to be ready for the future. Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org> Signed-off-by: Rob Clark <robdclark@gmail.com> |
||
---|---|---|
.. | ||
a2xx.xml.h | ||
a3xx_gpu.c | ||
a3xx_gpu.h | ||
a3xx.xml.h | ||
a4xx_gpu.c | ||
a4xx_gpu.h | ||
a4xx.xml.h | ||
a5xx_debugfs.c | ||
a5xx_gpu.c | ||
a5xx_gpu.h | ||
a5xx_power.c | ||
a5xx_preempt.c | ||
a5xx.xml.h | ||
a6xx_gmu.c | ||
a6xx_gmu.h | ||
a6xx_gmu.xml.h | ||
a6xx_gpu_state.c | ||
a6xx_gpu_state.h | ||
a6xx_gpu.c | ||
a6xx_gpu.h | ||
a6xx_hfi.c | ||
a6xx_hfi.h | ||
a6xx.xml.h | ||
adreno_common.xml.h | ||
adreno_device.c | ||
adreno_gpu.c | ||
adreno_gpu.h | ||
adreno_pm4.xml.h |