Re: [RFC PATCH] media: vb2: add bidirectional flag in vb2_queue

2017-08-17 Thread Jacob Chen
Hi, 2017-08-17 20:11 GMT+08:00 Stanimir Varbanov : > Hi Laurent, > > On 08/16/2017 03:28 PM, Laurent Pinchart wrote: >> Hi Stan, >> >> On Wednesday 16 Aug 2017 14:46:50 Stanimir Varbanov wrote: >>> On 08/15/2017 01:04 PM, Hans Verkuil wrote: On 08/14/17 10:41,

Re: [RFC PATCH] media: vb2: add bidirectional flag in vb2_queue

2017-08-17 Thread Jacob Chen
Hi, 2017-08-17 20:11 GMT+08:00 Stanimir Varbanov : > Hi Laurent, > > On 08/16/2017 03:28 PM, Laurent Pinchart wrote: >> Hi Stan, >> >> On Wednesday 16 Aug 2017 14:46:50 Stanimir Varbanov wrote: >>> On 08/15/2017 01:04 PM, Hans Verkuil wrote: On 08/14/17 10:41, Stanimir Varbanov wrote: >

Re: [RFC PATCH] media: vb2: add bidirectional flag in vb2_queue

2017-08-17 Thread Stanimir Varbanov
Hi Laurent, On 08/16/2017 03:28 PM, Laurent Pinchart wrote: > Hi Stan, > > On Wednesday 16 Aug 2017 14:46:50 Stanimir Varbanov wrote: >> On 08/15/2017 01:04 PM, Hans Verkuil wrote: >>> On 08/14/17 10:41, Stanimir Varbanov wrote: Hi, This RFC patch is intended to give to the

Re: [RFC PATCH] media: vb2: add bidirectional flag in vb2_queue

2017-08-17 Thread Stanimir Varbanov
Hi Laurent, On 08/16/2017 03:28 PM, Laurent Pinchart wrote: > Hi Stan, > > On Wednesday 16 Aug 2017 14:46:50 Stanimir Varbanov wrote: >> On 08/15/2017 01:04 PM, Hans Verkuil wrote: >>> On 08/14/17 10:41, Stanimir Varbanov wrote: Hi, This RFC patch is intended to give to the

Re: [RFC PATCH] media: vb2: add bidirectional flag in vb2_queue

2017-08-16 Thread Laurent Pinchart
Hi Stan, On Wednesday 16 Aug 2017 14:46:50 Stanimir Varbanov wrote: > On 08/15/2017 01:04 PM, Hans Verkuil wrote: > > On 08/14/17 10:41, Stanimir Varbanov wrote: > >> Hi, > >> > >> This RFC patch is intended to give to the drivers a choice to change > >> the default behavior of the v4l2-core DMA

Re: [RFC PATCH] media: vb2: add bidirectional flag in vb2_queue

2017-08-16 Thread Laurent Pinchart
Hi Stan, On Wednesday 16 Aug 2017 14:46:50 Stanimir Varbanov wrote: > On 08/15/2017 01:04 PM, Hans Verkuil wrote: > > On 08/14/17 10:41, Stanimir Varbanov wrote: > >> Hi, > >> > >> This RFC patch is intended to give to the drivers a choice to change > >> the default behavior of the v4l2-core DMA

Re: [RFC PATCH] media: vb2: add bidirectional flag in vb2_queue

2017-08-16 Thread Stanimir Varbanov
Hi Hans, On 08/15/2017 01:04 PM, Hans Verkuil wrote: > On 08/14/17 10:41, Stanimir Varbanov wrote: >> Hi, >> >> This RFC patch is intended to give to the drivers a choice to change >> the default behavior of the v4l2-core DMA mapping direction from >> DMA_TO/FROM_DEVICE (depending on the buffer

Re: [RFC PATCH] media: vb2: add bidirectional flag in vb2_queue

2017-08-16 Thread Stanimir Varbanov
Hi Hans, On 08/15/2017 01:04 PM, Hans Verkuil wrote: > On 08/14/17 10:41, Stanimir Varbanov wrote: >> Hi, >> >> This RFC patch is intended to give to the drivers a choice to change >> the default behavior of the v4l2-core DMA mapping direction from >> DMA_TO/FROM_DEVICE (depending on the buffer

Re: [RFC PATCH] media: vb2: add bidirectional flag in vb2_queue

2017-08-15 Thread Hans Verkuil
On 08/14/17 10:41, Stanimir Varbanov wrote: > Hi, > > This RFC patch is intended to give to the drivers a choice to change > the default behavior of the v4l2-core DMA mapping direction from > DMA_TO/FROM_DEVICE (depending on the buffer type CAPTURE or OUTPUT) > to DMA_BIDIRECTIONAL during

Re: [RFC PATCH] media: vb2: add bidirectional flag in vb2_queue

2017-08-15 Thread Hans Verkuil
On 08/14/17 10:41, Stanimir Varbanov wrote: > Hi, > > This RFC patch is intended to give to the drivers a choice to change > the default behavior of the v4l2-core DMA mapping direction from > DMA_TO/FROM_DEVICE (depending on the buffer type CAPTURE or OUTPUT) > to DMA_BIDIRECTIONAL during

Re: [RFC PATCH] media: vb2: add bidirectional flag in vb2_queue

2017-08-15 Thread Sakari Ailus
On Mon, Aug 14, 2017 at 11:41:55AM +0300, Stanimir Varbanov wrote: > Hi, > > This RFC patch is intended to give to the drivers a choice to change > the default behavior of the v4l2-core DMA mapping direction from > DMA_TO/FROM_DEVICE (depending on the buffer type CAPTURE or OUTPUT) > to

Re: [RFC PATCH] media: vb2: add bidirectional flag in vb2_queue

2017-08-15 Thread Sakari Ailus
On Mon, Aug 14, 2017 at 11:41:55AM +0300, Stanimir Varbanov wrote: > Hi, > > This RFC patch is intended to give to the drivers a choice to change > the default behavior of the v4l2-core DMA mapping direction from > DMA_TO/FROM_DEVICE (depending on the buffer type CAPTURE or OUTPUT) > to

[RFC PATCH] media: vb2: add bidirectional flag in vb2_queue

2017-08-14 Thread Stanimir Varbanov
Hi, This RFC patch is intended to give to the drivers a choice to change the default behavior of the v4l2-core DMA mapping direction from DMA_TO/FROM_DEVICE (depending on the buffer type CAPTURE or OUTPUT) to DMA_BIDIRECTIONAL during queue_init time. Initially the issue with DMA mapping

[RFC PATCH] media: vb2: add bidirectional flag in vb2_queue

2017-08-14 Thread Stanimir Varbanov
Hi, This RFC patch is intended to give to the drivers a choice to change the default behavior of the v4l2-core DMA mapping direction from DMA_TO/FROM_DEVICE (depending on the buffer type CAPTURE or OUTPUT) to DMA_BIDIRECTIONAL during queue_init time. Initially the issue with DMA mapping