[PATCH v2] [media] vb2: include lengths in dmabuf qbuf debug message

2016-07-20 Thread Javier Martinez Canillas
If the VIDIOC_QBUF ioctl fails due a wrong dmabuf length, it's useful to get the invalid and minimum lengths as a debug info. Before this patch: vb2-core: __qbuf_dmabuf: invalid dmabuf length for plane 1 After this patch: vb2-core: __qbuf_dmabuf: invalid dmabuf length 221248 for plane 1, minimu

Re: [PATCH v2] [media] vb2: include lengths in dmabuf qbuf debug message

2016-07-20 Thread Sakari Ailus
On Wed, Jul 20, 2016 at 12:07:55PM -0400, Javier Martinez Canillas wrote: > If the VIDIOC_QBUF ioctl fails due a wrong dmabuf length, it's > useful to get the invalid and minimum lengths as a debug info. > > Before this patch: > > vb2-core: __qbuf_dmabuf: invalid dmabuf length for plane 1 > > Af

Re: [PATCH v2] [media] vb2: include lengths in dmabuf qbuf debug message

2016-07-20 Thread Javier Martinez Canillas
Hello Sakari, On 07/20/2016 03:52 PM, Sakari Ailus wrote: > On Wed, Jul 20, 2016 at 12:07:55PM -0400, Javier Martinez Canillas wrote: >> If the VIDIOC_QBUF ioctl fails due a wrong dmabuf length, it's >> useful to get the invalid and minimum lengths as a debug info. >> >> Before this patch: >> >> v

Re: [PATCH v2] [media] vb2: include lengths in dmabuf qbuf debug message

2016-07-20 Thread Sakari Ailus
Hi Javier, On Wed, Jul 20, 2016 at 06:56:52PM -0400, Javier Martinez Canillas wrote: > Hello Sakari, > > On 07/20/2016 03:52 PM, Sakari Ailus wrote: > > On Wed, Jul 20, 2016 at 12:07:55PM -0400, Javier Martinez Canillas wrote: > >> If the VIDIOC_QBUF ioctl fails due a wrong dmabuf length, it's >

Re: [PATCH v2] [media] vb2: include lengths in dmabuf qbuf debug message

2016-07-20 Thread Javier Martinez Canillas
Hello Sakari, On 07/20/2016 07:08 PM, Sakari Ailus wrote: > Hi Javier, > > On Wed, Jul 20, 2016 at 06:56:52PM -0400, Javier Martinez Canillas wrote: >> Hello Sakari, >> >> On 07/20/2016 03:52 PM, Sakari Ailus wrote: >>> On Wed, Jul 20, 2016 at 12:07:55PM -0400, Javier Martinez Canillas wrote: >>>