Commit 16e25694 authored by Gaofeng Sheng's avatar Gaofeng Sheng Committed by Venkatesh G (xWF)
Browse files

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
Bug: 400393157
Change-Id: I0e6d5ec47c9449bcbfe6b237bd9dea63f11e677e
Signed-off-by: default avatarGaofeng Sheng <gaofeng.sheng@unisoc.com>
Signed-off-by: default avatarchunpeng li <lichunpeng@xiaomi.com>
(cherry picked from commit 88796505)
(cherry picked from commit c9da352d)
Signed-off-by: default avataryan Chang <changyan1@xiaomi.com>
parent f44dcf72
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment