Re: [RFC 03/10] [media] vb2: add in-fence support to QBUF

2017-04-03 Thread Javier Martinez Canillas
Hello Gustavo, On 03/13/2017 04:20 PM, Gustavo Padovan wrote: [snip] > > int vb2_qbuf(struct vb2_queue *q, struct v4l2_buffer *b) > { > + struct dma_fence *fence = NULL; > int ret; > > if (vb2_fileio_is_active(q)) { > @@ -565,7 +567,17 @@ int vb2_qbuf(struct vb2_queue *q,

[RFC 03/10] [media] vb2: add in-fence support to QBUF

2017-03-13 Thread Gustavo Padovan
From: Gustavo Padovan Receive in-fence from userspace and support for waiting on them before queueing the buffer for the driver. Signed-off-by: Gustavo Padovan --- drivers/media/Kconfig| 1 +