Re: [PATCH v7 2/5] dma-buf: heaps: Add heap helpers

2019-07-25 Thread Christoph Hellwig
> +struct dma_buf *heap_helper_export_dmabuf( > + struct heap_helper_buffer *helper_buffer, > + int fd_flags) Indentation seems odd here as it doesn't follow any of the usual schools for multi-level prototypes. But maybe shortening some iden

[PATCH v7 2/5] dma-buf: heaps: Add heap helpers

2019-07-23 Thread John Stultz
Add generic helper dmabuf ops for dma heaps, so we can reduce the amount of duplicative code for the exported dmabufs. This code is an evolution of the Android ION implementation, so thanks to its original authors and maintainters: Rebecca Schultz Zavin, Colin Cross, Laura Abbott, and others! C