Re: [PATCH v2 07/12] iio: buffer-dma: Use DMABUFs instead of custom solution

2022-03-28 Thread Andy Shevchenko
On Mon, Mar 28, 2022 at 11:30 PM Paul Cercueil wrote: > Le lun., mars 28 2022 at 18:54:25 +0100, Jonathan Cameron > a écrit : > > On Mon, 7 Feb 2022 12:59:28 + > > Paul Cercueil wrote: > > > >> Enhance the current fileio code by using DMABUF objects instead of > >> custom buffers. > >> >

Re: [PATCH v2 07/12] iio: buffer-dma: Use DMABUFs instead of custom solution

2022-03-28 Thread Paul Cercueil
Hi Jonathan, Le lun., mars 28 2022 at 18:54:25 +0100, Jonathan Cameron a écrit : On Mon, 7 Feb 2022 12:59:28 + Paul Cercueil wrote: Enhance the current fileio code by using DMABUF objects instead of custom buffers. This adds more code than it removes, but: - a lot of the complexit

Re: [PATCH v2 07/12] iio: buffer-dma: Use DMABUFs instead of custom solution

2022-03-28 Thread Christian König
Am 28.03.22 um 19:54 schrieb Jonathan Cameron: On Mon, 7 Feb 2022 12:59:28 + Paul Cercueil wrote: Enhance the current fileio code by using DMABUF objects instead of custom buffers. This adds more code than it removes, but: - a lot of the complexity can be dropped, e.g. custom kref and

Re: [PATCH v2 07/12] iio: buffer-dma: Use DMABUFs instead of custom solution

2022-03-28 Thread Jonathan Cameron
On Mon, 7 Feb 2022 12:59:28 + Paul Cercueil wrote: > Enhance the current fileio code by using DMABUF objects instead of > custom buffers. > > This adds more code than it removes, but: > - a lot of the complexity can be dropped, e.g. custom kref and > iio_buffer_block_put_atomic() are not

[PATCH v2 07/12] iio: buffer-dma: Use DMABUFs instead of custom solution

2022-02-07 Thread Paul Cercueil
Enhance the current fileio code by using DMABUF objects instead of custom buffers. This adds more code than it removes, but: - a lot of the complexity can be dropped, e.g. custom kref and iio_buffer_block_put_atomic() are not needed anymore; - it will be much easier to introduce an API to export