[RFC PATCH 2/9] [media] v4l2-core: add core jobs API support

2017-09-28 Thread Alexandre Courbot
Add core support code for jobs API. This manages the life cycle of jobs and creation of a jobs queue, as well as the interface for job states. It also exposes the user-space jobs API. Signed-off-by: Alexandre Courbot --- drivers/media/v4l2-core/Makefile| 3 +- drivers/media/v4l2-c

Re: [RFC PATCH 2/9] [media] v4l2-core: add core jobs API support

2017-10-16 Thread Hans Verkuil
On 09/28/2017 11:50 AM, Alexandre Courbot wrote: > Add core support code for jobs API. This manages the life cycle of jobs > and creation of a jobs queue, as well as the interface for job states. > > It also exposes the user-space jobs API. > > Signed-off-by: Alexandre Courbot > --- > drivers/m

Re: [RFC PATCH 2/9] [media] v4l2-core: add core jobs API support

2017-10-23 Thread Alexandre Courbot
Hi Hans, On Mon, Oct 16, 2017 at 7:01 PM, Hans Verkuil wrote: >> +static long v4l2_jobqueue_device_do_ioctl(struct file *filp, unsigned int >> cmd, >> + void *arg) >> +{ >> + switch (cmd) { >> + case VIDIOC_JOBQUEUE_INIT: >> +