Re: [PATCHv18 19/35] vb2: store userspace data in vb2_v4l2_buffer

2018-08-15 Thread Hans Verkuil
On 15/08/18 14:28, Mauro Carvalho Chehab wrote: > Em Wed, 15 Aug 2018 13:54:53 +0200 > Hans Verkuil escreveu: > >> On 14/08/18 21:47, Mauro Carvalho Chehab wrote: >>> Em Tue, 14 Aug 2018 16:20:31 +0200 >>> Hans Verkuil escreveu: >> >> >> diff --git a/drivers/media/common/videobuf2/videob

Re: [PATCHv18 19/35] vb2: store userspace data in vb2_v4l2_buffer

2018-08-15 Thread Mauro Carvalho Chehab
Em Wed, 15 Aug 2018 13:54:53 +0200 Hans Verkuil escreveu: > On 14/08/18 21:47, Mauro Carvalho Chehab wrote: > > Em Tue, 14 Aug 2018 16:20:31 +0200 > > Hans Verkuil escreveu: > > > > >> diff --git a/drivers/media/common/videobuf2/videobuf2-v4l2.c > >> b/drivers/media/common/videobuf2/videob

Re: [PATCHv18 19/35] vb2: store userspace data in vb2_v4l2_buffer

2018-08-15 Thread Hans Verkuil
On 14/08/18 21:47, Mauro Carvalho Chehab wrote: > Em Tue, 14 Aug 2018 16:20:31 +0200 > Hans Verkuil escreveu: >> diff --git a/drivers/media/common/videobuf2/videobuf2-v4l2.c >> b/drivers/media/common/videobuf2/videobuf2-v4l2.c >> index 57848ddc584f..360dc4e7d413 100644 >> --- a/drivers/media/c

Re: [PATCHv18 19/35] vb2: store userspace data in vb2_v4l2_buffer

2018-08-14 Thread Mauro Carvalho Chehab
Em Tue, 14 Aug 2018 16:20:31 +0200 Hans Verkuil escreveu: > From: Hans Verkuil > > The userspace-provided plane data needs to be stored in > vb2_v4l2_buffer. Currently this information is applied by > __fill_vb2_buffer() which is called by the core prepare_buf > and qbuf functions, but when usi

[PATCHv18 19/35] vb2: store userspace data in vb2_v4l2_buffer

2018-08-14 Thread Hans Verkuil
From: Hans Verkuil The userspace-provided plane data needs to be stored in vb2_v4l2_buffer. Currently this information is applied by __fill_vb2_buffer() which is called by the core prepare_buf and qbuf functions, but when using requests these functions aren't called yet since the buffer won't be