Hi Markus,
Le lundi 17 juin 2024 à 08:56 +0200, Markus Elfring a écrit :
> …
> > +++ b/drivers/iio/industrialio-buffer.c
> …
> > static int iio_buffer_chrdev_release(struct inode *inode, struct
> > file *filep)
> > {
> …
> > wake_up(>pollq);
> >
> > + mutex_lock(>dmabufs_mutex);
> > +
>
…
> +++ b/drivers/iio/industrialio-buffer.c
…
> static int iio_buffer_chrdev_release(struct inode *inode, struct file *filep)
> {
…
> wake_up(>pollq);
>
> + mutex_lock(>dmabufs_mutex);
> +
> + /* Close all attached DMABUFs */
…
> + mutex_unlock(>dmabufs_mutex);
> +
>
On Sat, 2024-06-15 at 13:07 +0200, Paul Cercueil wrote:
> Le dimanche 09 juin 2024 à 10:53 +0100, Jonathan Cameron a écrit :
> > On Wed, 5 Jun 2024 13:08:42 +0200
> > Paul Cercueil wrote:
> >
> > > Add the necessary infrastructure to the IIO core to support a new
> > > optional DMABUF based
Le dimanche 09 juin 2024 à 10:53 +0100, Jonathan Cameron a écrit :
> On Wed, 5 Jun 2024 13:08:42 +0200
> Paul Cercueil wrote:
>
> > Add the necessary infrastructure to the IIO core to support a new
> > optional DMABUF based interface.
> >
> > With this new interface, DMABUF objects (externally
On Wed, 5 Jun 2024 13:08:42 +0200
Paul Cercueil wrote:
> Add the necessary infrastructure to the IIO core to support a new
> optional DMABUF based interface.
>
> With this new interface, DMABUF objects (externally created) can be
> attached to a IIO buffer, and subsequently used for data
Add the necessary infrastructure to the IIO core to support a new
optional DMABUF based interface.
With this new interface, DMABUF objects (externally created) can be
attached to a IIO buffer, and subsequently used for data transfer.
A userspace application can then use this interface to share