ANDROID: vendor_hooks: add vendor hook for dma_heap_buffer_alloc
Add android_vh_dmabuf_heap_flags_validation vh for heap flags with vendor valid check. The default value of the dma-buf heap flag is 0, implying that the dma_heap_buffer_alloc() function will not allocate the heap buffer. To allocate the heap buffer, we need a hook function that can validate the custom heap flags and allocate the heap buffer if the flags are valid. Bug: 241733930 Signed-off-by:davidwang <davidwang@realtek.com> Change-Id: I5c1c111b8231a05f733bc56bda34bc408e708554 (cherry picked from commit fc9630b3) Bug: 275191442 Signed-off-by:
James Tai <james.tai@realtek.com>
Loading
Please sign in to comment