Re: [PATCHv4 02/13] vb2: add a dev field to use for the default allocation context

2016-04-25 Thread Laurent Pinchart
Hi Hans, Thank you for the patch. On Saturday 23 Apr 2016 13:03:38 Hans Verkuil wrote: > From: Hans Verkuil > > The allocation context is nothing more than a per-plane device pointer > to use when allocating buffers. So just provide a dev pointer in vb2_queue > for that purpose and drivers can

Re: [PATCHv4 02/13] vb2: add a dev field to use for the default allocation context

2016-04-25 Thread Benoit Parrot
Hans, Thanks for the patch. Acked-by: Benoit Parrot Hans Verkuil wrote on Sat [2016-Apr-23 13:03:38 +0200]: > From: Hans Verkuil > > The allocation context is nothing more than a per-plane device pointer > to use when allocating buffers. So just provide a dev pointer in vb2_queue > for that

[PATCHv4 02/13] vb2: add a dev field to use for the default allocation context

2016-04-23 Thread Hans Verkuil
From: Hans Verkuil The allocation context is nothing more than a per-plane device pointer to use when allocating buffers. So just provide a dev pointer in vb2_queue for that purpose and drivers can skip allocating/releasing/filling in the allocation context unless they require different per-plane