Re: [RFCv4 01/21] media: add request API core and UAPI

2018-02-22 Thread Hans Verkuil
On 02/22/18 10:30, Alexandre Courbot wrote: > On Wed, Feb 21, 2018 at 4:29 PM, Hans Verkuil wrote: >> On 02/21/2018 07:01 AM, Alexandre Courbot wrote: >>> Hi Hans, >>> >>> On Tue, Feb 20, 2018 at 7:36 PM, Hans Verkuil wrote: On 02/20/18 05:44, Alexandre Courbot wrote: >> >> >> > +#defin

Re: [RFCv4 01/21] media: add request API core and UAPI

2018-02-22 Thread Alexandre Courbot
On Wed, Feb 21, 2018 at 4:29 PM, Hans Verkuil wrote: > On 02/21/2018 07:01 AM, Alexandre Courbot wrote: >> Hi Hans, >> >> On Tue, Feb 20, 2018 at 7:36 PM, Hans Verkuil wrote: >>> On 02/20/18 05:44, Alexandre Courbot wrote: > > > +#define MEDIA_REQUEST_IOC(__cmd, func)

Re: [RFCv4 01/21] media: add request API core and UAPI

2018-02-20 Thread Hans Verkuil
On 02/21/2018 07:01 AM, Alexandre Courbot wrote: > Hi Hans, > > On Tue, Feb 20, 2018 at 7:36 PM, Hans Verkuil wrote: >> On 02/20/18 05:44, Alexandre Courbot wrote: >>> +#define MEDIA_REQUEST_IOC(__cmd, func) >>> \ >>> + [_IOC_NR(MEDIA_REQUEST_IOC_##__

Re: [RFCv4 01/21] media: add request API core and UAPI

2018-02-20 Thread Alexandre Courbot
Hi Hans, On Tue, Feb 20, 2018 at 7:36 PM, Hans Verkuil wrote: > On 02/20/18 05:44, Alexandre Courbot wrote: >> The request API provides a way to group buffers and device parameters >> into units of work to be queued and executed. This patch introduces the >> UAPI and core framework. >> >> This pa

Re: [RFCv4 01/21] media: add request API core and UAPI

2018-02-20 Thread Hans Verkuil
On 02/20/18 05:44, Alexandre Courbot wrote: > The request API provides a way to group buffers and device parameters > into units of work to be queued and executed. This patch introduces the > UAPI and core framework. > > This patch is based on the previous work by Laurent Pinchart. The core > has