Re: vb2_reqbufs() is not allowing more than VIDEO_MAX_FRAME

2014-09-21 Thread Hans Verkuil
On 07/21/2014 08:03 AM, Divneil Wadhawan wrote: > > Hi Hans, > >> This patch is all messed up and doesn't apply. >> >> Check your mailer settings: it clearly replaced hard tabs by a space. >> >> Can you repost? > > I tried to find out if I can change the mailer settings. Seems, that is the > pr

Re: vb2_reqbufs() is not allowing more than VIDEO_MAX_FRAME

2014-07-21 Thread Ricardo Ribalda Delgado
Why dont you use git send-email ? On Mon, Jul 21, 2014 at 8:03 AM, Divneil Wadhawan wrote: > > Hi Hans, > >> This patch is all messed up and doesn't apply. >> >> Check your mailer settings: it clearly replaced hard tabs by a space. >> >> Can you repost? > > I tried to find out if I can change the

RE: vb2_reqbufs() is not allowing more than VIDEO_MAX_FRAME

2014-07-20 Thread Divneil Wadhawan
Hi Hans, > This patch is all messed up and doesn't apply. > > Check your mailer settings: it clearly replaced hard tabs by a space. > > Can you repost? I tried to find out if I can change the mailer settings. Seems, that is the problem. I tried using mutt, but, seems the configuration is miss

Re: vb2_reqbufs() is not allowing more than VIDEO_MAX_FRAME

2014-07-17 Thread Hans Verkuil
Hi Divneil, This patch is all messed up and doesn't apply. Check your mailer settings: it clearly replaced hard tabs by a space. Can you repost? Regards, Hans On 07/07/2014 09:27 AM, Divneil Wadhawan wrote: > Hi Hans, > > >> include/media/davinci/vpfe_capture.h > > It uses videobuf

RE: vb2_reqbufs() is not allowing more than VIDEO_MAX_FRAME

2014-07-08 Thread Kamil Debski
Hi Hans, > From: Hans Verkuil [mailto:hverk...@xs4all.nl] > Sent: Tuesday, July 08, 2014 9:52 AM > To: Divneil Wadhawan; linux-media@vger.kernel.org; Kamil Debski; > pa...@osciak.com > Subject: Re: vb2_reqbufs() is not allowing more than VIDEO_MAX_FRAME > > On 07/07/2

Re: vb2_reqbufs() is not allowing more than VIDEO_MAX_FRAME

2014-07-08 Thread Hans Verkuil
On 07/07/2014 09:27 AM, Divneil Wadhawan wrote: > Hi Hans, > > >> include/media/davinci/vpfe_capture.h > > It uses videobuf-dma-contig.h, so, I left it out. > > >> drivers/media/platform/vivi-core.c > > Cannot find this one. Checked with find, in case it changed location, but > couldn't. >

Re: vb2_reqbufs() is not allowing more than VIDEO_MAX_FRAME

2014-07-07 Thread Hans Verkuil
On 07/07/2014 09:27 AM, Divneil Wadhawan wrote: > Hi Hans, > > >> include/media/davinci/vpfe_capture.h > > It uses videobuf-dma-contig.h, so, I left it out. Ah, you are right. I thought that one was converted to vb2, but it isn't. > > >> drivers/media/platform/vivi-core.c > > Cannot find th

RE: vb2_reqbufs() is not allowing more than VIDEO_MAX_FRAME

2014-07-07 Thread Divneil Wadhawan
Hi Hans, > include/media/davinci/vpfe_capture.h It uses videobuf-dma-contig.h, so, I left it out. > drivers/media/platform/vivi-core.c Cannot find this one. Checked with find, in case it changed location, but couldn't. > drivers/media/pci/saa7134/* Updated. Please find below the patch.

Re: vb2_reqbufs() is not allowing more than VIDEO_MAX_FRAME

2014-07-04 Thread Hans Verkuil
On 05/12/2014 01:38 PM, Divneil Wadhawan wrote: > Hi Hans, > > Please find attached the patch. I hope its okay. > I have only touched filed which were vb2 based in my understanding. > > Yeah! I was referring to the define as it's the easier way and also > fulfilling my use case. > However, I a

RE: vb2_reqbufs() is not allowing more than VIDEO_MAX_FRAME

2014-07-03 Thread Divneil Wadhawan
Hi Hans, Can you please give some update on this. Is it okay or not? Regards, Divneil > From: divn...@outlook.com > To: hverk...@xs4all.nl; linux-media@vger.kernel.org > Subject: RE: vb2_reqbufs() is not allowing more than VIDEO_MAX_FRAME > D

Re: vb2_reqbufs() is not allowing more than VIDEO_MAX_FRAME

2014-05-07 Thread Hans Verkuil
On 05/07/14 13:26, Divneil Wadhawan wrote: > Hi Hans > >> Hmm, I always wondered when this would happen. > > :) > > >> In theory we could make the number of maximum frames driver specific, but >> it would be more trouble than it's worth at the moment IMHO. > > You mean to say adding a new fiel

RE: vb2_reqbufs() is not allowing more than VIDEO_MAX_FRAME

2014-05-07 Thread Divneil Wadhawan
Hi Hans > Hmm, I always wondered when this would happen. :) > In theory we could make the number of maximum frames driver specific, but > it would be more trouble than it's worth at the moment IMHO. You mean to say adding a new field in struct vb2_queue. Hmm, I will nod yes, because, the requ

Re: vb2_reqbufs() is not allowing more than VIDEO_MAX_FRAME

2014-05-07 Thread Hans Verkuil
Hi Divneil, On 05/07/14 11:37, Divneil Wadhawan wrote: > Hi, > > > I have a driver which is MUXING out data taking in multiple inputs. > > It has been found in certain cases, at the minimum 40 buffers are > required to be queued before it could MUX out anything. > > Currently, VIDEO_MAX_FRAME

vb2_reqbufs() is not allowing more than VIDEO_MAX_FRAME

2014-05-07 Thread Divneil Wadhawan
Hi, I have a driver which is MUXING out data taking in multiple inputs. It has been found in certain cases, at the minimum 40 buffers are required to be queued before it could MUX out anything. Currently, VIDEO_MAX_FRAME is restricting the max size to 32. This can be over-ridden in driver qu