+1
−0
drivers/iommu/msm_dma_iommu_mapping.c
0 → 100644
+370
−0
include/linux/msm_dma_iommu_mapping.h
0 → 100644
+61
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Add new APIs to allow clients to map and unmap dma_buffers created by ION. The call to the unmap API will not actually do the unmapping from the IOMMU. The unmapping will occur when the ION/dma_buf buffer is actually freed. This behavior can be disabled with DMA_ATTR_NO_DELAYED_UNMAP Change-Id: Ic4dbd3b582eb0388020c650cab5fbb1dad67ae81 Signed-off-by:Olav Haugan <ohaugan@codeaurora.org> Signed-off-by:
Patrick Daly <pdaly@codeaurora.org>