ANDROID: dma-buf: align fd_flags and heap_flags with uapi
The signature of dma_heap_buffer_alloc() was updated to match the uapi definition of 'struct dma_heap_allocation_data' as seen in [1]. Since in ACK we carry OOT patches that export this function and add dma_heap_bufferfd_alloc(), equivalent updates are made in this patch. Bug: 344501512 Cc: John Stultz <jstultz@google.com> Cc: Hailong.Liu <hailong.liu@oppo.com> Fixes: 8e1ec973 ("ANDROID: dma-heap: Provide accessors so that in-kernel drivers can allocate dmabufs from specific heaps") Fixes: 349e8360 ("ANDROID: dma-heap: Rework allocation calls to return struct dma_buf instead of fd") Link: https://lore.kernel.org/all/20240605012605.5341-1-21cnbao@gmail.com/ [1] Change-Id: Id27aa0970a06b51bebf00a6072baeff35f0d4358 Signed-off-by:Carlos Llamas <cmllamas@google.com>
Loading
Please sign in to comment