Reapply "ANDROID: GKI: dma-buf: add vendor hook for dma_buf_release"
The main function is to check whether the corresponding IOMMU buffer is unmapped when dmabuf is released, so as to avoid memory coverage caused by IOMMU. Bug: 229552121 Bug: 382630460 Change-Id: I0e6d5ec47c9449bcbfe6b237bd9dea63f11e677e Signed-off-by:Gaofeng Sheng <gaofeng.sheng@unisoc.com> Signed-off-by:
chunpeng li <lichunpeng@xiaomi.com> (cherry picked from commit 88796505)
Loading
Please sign in to comment