currently in hab driver, it want to hold all bufs as dmabuf for fulture implement,
and it's hard to get dmabuf fd/handle from a kva, so hab need to generate a new
dmabuf for itself, and this will intruduce audio crash issue
in conclusion, for now hab just accept dma fd/handl as input in KHAB export path.
Change-Id: I11715ba966036f7c02b67d0bdae97eb6d7118d5c
Signed-off-by: Hui Li <hul@codeaurora.org>
Unmap and free DMA memory in case of ION SMMU
mapping failure from PVM backend or MMHAB.
Change-Id: I2d2780941ba6922534654afa463a011f27ef7c66
Signed-off-by: Derek Chen <chenche@codeaurora.org>
Add new interfaces stub functions for Dolby security change,
since ion_vm share the same header file with ion.
Change-Id: Iaac5931a9c97eafe1a8cc5980ac70b9a62288faa
Signed-off-by: King Tam <kingt@codeaurora.org>
DMA buffer does not unmap after kernel ion map failure. It leads
to unexpected vaddr and memory leak.
Change-Id: I363dd9178a0bcbca601180bfd0a7bd7ef2430d3e
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
Adapt to non sys heap support for SMMU FE driver on GVM of
automotive.
Change-Id: I67f5ca511cea1a7a5c1615868b5b2d74e6b22dac
Signed-off-by: Timothy Sham <tsham@codeaurora.org>
Add support for virtualized ION frontend driver for audio.
Virtualized ION driver currently is designed to extract
physical memory through hypervisor abstracted ion layer,
which can be shared between APPS and ADSP directly.
Change-Id: I3c664ec3c3a99ce092da6ee103a3b2de4073664f
Signed-off-by: Timothy Sham <tsham@codeaurora.org>