Re: [PATCH v5 6/8] iio: buffer-dma: Enable support for DMABUFs

2023-12-26 Thread Jonathan Cameron
> > > +struct iio_dma_buffer_block * > > > +iio_dma_buffer_attach_dmabuf(struct iio_buffer *buffer, > > > +    struct dma_buf_attachment *attach) > > > +{ > > > +   struct iio_dma_buffer_queue *queue = iio_buffer_to_queue(buffer); > > > +   struct

Re: [PATCH v5 6/8] iio: buffer-dma: Enable support for DMABUFs

2023-12-22 Thread Nuno Sá
On Thu, 2023-12-21 at 16:04 +, Jonathan Cameron wrote: > On Tue, 19 Dec 2023 18:50:07 +0100 > Paul Cercueil wrote: > > > Implement iio_dma_buffer_attach_dmabuf(), iio_dma_buffer_detach_dmabuf() > > and iio_dma_buffer_transfer_dmabuf(), which can then be used by the IIO > > DMA buffer

Re: [PATCH v5 6/8] iio: buffer-dma: Enable support for DMABUFs

2023-12-21 Thread Jonathan Cameron
On Tue, 19 Dec 2023 18:50:07 +0100 Paul Cercueil wrote: > Implement iio_dma_buffer_attach_dmabuf(), iio_dma_buffer_detach_dmabuf() > and iio_dma_buffer_transfer_dmabuf(), which can then be used by the IIO > DMA buffer implementations. > > Signed-off-by: Paul Cercueil > Hi Paul, A few

[PATCH v5 6/8] iio: buffer-dma: Enable support for DMABUFs

2023-12-19 Thread Paul Cercueil
Implement iio_dma_buffer_attach_dmabuf(), iio_dma_buffer_detach_dmabuf() and iio_dma_buffer_transfer_dmabuf(), which can then be used by the IIO DMA buffer implementations. Signed-off-by: Paul Cercueil --- v3: Update code to provide the functions that will be used as callbacks for the new