Re: [PATCH 03/12] [media] vb2: add in-fence support to QBUF

2017-07-11 Thread Gustavo Padovan
2017-07-11 Hans Verkuil : > On 10/07/17 22:26, Gustavo Padovan wrote: > > 2017-07-10 Gustavo Padovan : > > > >> 2017-07-07 Hans Verkuil : > >> > >>> On 07/07/2017 04:00 AM, Gustavo Padovan wrote: > 2017-07-06 Hans Verkuil

Re: [PATCH 03/12] [media] vb2: add in-fence support to QBUF

2017-07-10 Thread Hans Verkuil
On 10/07/17 22:26, Gustavo Padovan wrote: > 2017-07-10 Gustavo Padovan : > >> 2017-07-07 Hans Verkuil : >> >>> On 07/07/2017 04:00 AM, Gustavo Padovan wrote: 2017-07-06 Hans Verkuil : > On 06/16/17 09:39, Gustavo Padovan

Re: [PATCH 03/12] [media] vb2: add in-fence support to QBUF

2017-07-10 Thread Gustavo Padovan
2017-07-10 Gustavo Padovan : > 2017-07-07 Hans Verkuil : > > > On 07/07/2017 04:00 AM, Gustavo Padovan wrote: > > > 2017-07-06 Hans Verkuil : > > > > > > > On 06/16/17 09:39, Gustavo Padovan wrote: > > > > > From: Gustavo Padovan

Re: [PATCH 03/12] [media] vb2: add in-fence support to QBUF

2017-07-10 Thread Gustavo Padovan
2017-07-07 Hans Verkuil : > On 07/07/2017 03:53 AM, Gustavo Padovan wrote: > > > > > > > help > > > > If you want to use Webcams, Video grabber devices and/or TV > > > > devices > > > > enable this option and other options below. > > > > diff

Re: [PATCH 03/12] [media] vb2: add in-fence support to QBUF

2017-07-10 Thread Gustavo Padovan
2017-07-07 Hans Verkuil : > On 07/07/2017 04:00 AM, Gustavo Padovan wrote: > > 2017-07-06 Hans Verkuil : > > > > > On 06/16/17 09:39, Gustavo Padovan wrote: > > > > From: Gustavo Padovan > > > > > > > > Receive in-fence

Re: [PATCH 03/12] [media] vb2: add in-fence support to QBUF

2017-07-07 Thread Hans Verkuil
On 07/07/2017 03:53 AM, Gustavo Padovan wrote: help If you want to use Webcams, Video grabber devices and/or TV devices enable this option and other options below. diff --git a/drivers/media/v4l2-core/videobuf2-core.c b/drivers/media/v4l2-core/videobuf2-core.c

Re: [PATCH 03/12] [media] vb2: add in-fence support to QBUF

2017-07-07 Thread Hans Verkuil
On 07/07/2017 04:00 AM, Gustavo Padovan wrote: 2017-07-06 Hans Verkuil : On 06/16/17 09:39, Gustavo Padovan wrote: From: Gustavo Padovan Receive in-fence from userspace and add support for waiting on them before queueing the buffer to the

Re: [PATCH 03/12] [media] vb2: add in-fence support to QBUF

2017-07-06 Thread Gustavo Padovan
2017-07-06 Hans Verkuil : > On 06/16/17 09:39, Gustavo Padovan wrote: > > From: Gustavo Padovan > > > > Receive in-fence from userspace and add support for waiting on them > > before queueing the buffer to the driver. Buffers are only queued >

Re: [PATCH 03/12] [media] vb2: add in-fence support to QBUF

2017-07-06 Thread Gustavo Padovan
2017-07-06 Hans Verkuil : > On 06/16/17 09:39, Gustavo Padovan wrote: > > From: Gustavo Padovan > > > > Receive in-fence from userspace and add support for waiting on them > > before queueing the buffer to the driver. Buffers are only queued >

Re: [PATCH 03/12] [media] vb2: add in-fence support to QBUF

2017-07-06 Thread Gustavo Padovan
2017-07-06 Hans Verkuil : > On 07/03/17 20:16, Gustavo Padovan wrote: > >>> @@ -1436,6 +1481,11 @@ int vb2_core_qbuf(struct vb2_queue *q, unsigned > >>> int index, void *pb) > >>> if (pb) > >>> call_void_bufop(q, fill_user_buffer, vb, pb); > >>> > >>> +

Re: [PATCH 03/12] [media] vb2: add in-fence support to QBUF

2017-07-06 Thread Hans Verkuil
On 07/03/17 20:16, Gustavo Padovan wrote: >>> @@ -1436,6 +1481,11 @@ int vb2_core_qbuf(struct vb2_queue *q, unsigned int >>> index, void *pb) >>> if (pb) >>> call_void_bufop(q, fill_user_buffer, vb, pb); >>> >>> + vb->in_fence = fence; >>> + if (fence &&

Re: [PATCH 03/12] [media] vb2: add in-fence support to QBUF

2017-07-06 Thread Hans Verkuil
On 06/16/17 09:39, Gustavo Padovan wrote: > From: Gustavo Padovan > > Receive in-fence from userspace and add support for waiting on them > before queueing the buffer to the driver. Buffers are only queued > to the driver once they are ready. A buffer is ready when

Re: [PATCH 03/12] [media] vb2: add in-fence support to QBUF

2017-07-06 Thread Hans Verkuil
On 06/16/17 09:39, Gustavo Padovan wrote: > From: Gustavo Padovan > > Receive in-fence from userspace and add support for waiting on them > before queueing the buffer to the driver. Buffers are only queued > to the driver once they are ready. A buffer is ready when

Re: [PATCH 03/12] [media] vb2: add in-fence support to QBUF

2017-07-03 Thread Gustavo Padovan
Hi Mauro, 2017-06-30 Mauro Carvalho Chehab : > Em Fri, 16 Jun 2017 16:39:06 +0900 > Gustavo Padovan escreveu: > > > From: Gustavo Padovan > > > > Receive in-fence from userspace and add support for waiting on them >

Re: [PATCH 03/12] [media] vb2: add in-fence support to QBUF

2017-06-30 Thread Mauro Carvalho Chehab
Em Fri, 16 Jun 2017 16:39:06 +0900 Gustavo Padovan escreveu: > From: Gustavo Padovan > > Receive in-fence from userspace and add support for waiting on them > before queueing the buffer to the driver. Buffers are only queued > to the driver

Re: [PATCH 03/12] [media] vb2: add in-fence support to QBUF

2017-06-18 Thread kbuild test robot
Hi Gustavo, [auto build test WARNING on linuxtv-media/master] [also build test WARNING on v4.12-rc5 next-20170616] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

[PATCH 03/12] [media] vb2: add in-fence support to QBUF

2017-06-16 Thread Gustavo Padovan
From: Gustavo Padovan Receive in-fence from userspace and add support for waiting on them before queueing the buffer to the driver. Buffers are only queued to the driver once they are ready. A buffer is ready when its in-fence signals. v2: - fix