Re: [PATCHv13 12/28] v4l2-ctrls: add core request support

2018-05-24 Thread Hans Verkuil
On 08/05/18 12:49, Mauro Carvalho Chehab wrote: > Em Tue, 8 May 2018 10:07:22 +0200 > Hans Verkuil escreveu: > diff --git a/include/media/v4l2-ctrls.h b/include/media/v4l2-ctrls.h index 76352eb59f14..a0f7c38d1a90 100644 --- a/include/media/v4l2-ctrls.h +++ b/include/media/v4l2

Re: [PATCHv13 12/28] v4l2-ctrls: add core request support

2018-05-16 Thread Sakari Ailus
On Thu, May 03, 2018 at 04:53:02PM +0200, Hans Verkuil wrote: > @@ -1059,6 +1077,11 @@ int v4l2_ctrl_subscribe_event(struct v4l2_fh *fh, > */ > __poll_t v4l2_ctrl_poll(struct file *file, struct poll_table_struct *wait); > > +void v4l2_ctrl_request_setup(struct media_request *req, > +

Re: [PATCHv13 12/28] v4l2-ctrls: add core request support

2018-05-16 Thread Hans Verkuil
On 05/16/18 12:19, Sakari Ailus wrote: > Hi Hans, > > On Thu, May 03, 2018 at 04:53:02PM +0200, Hans Verkuil wrote: >> From: Hans Verkuil >> >> Integrate the request support. This adds the v4l2_ctrl_request_complete >> and v4l2_ctrl_request_setup functions to complete a request and (as a >> helpe

Re: [PATCHv13 12/28] v4l2-ctrls: add core request support

2018-05-16 Thread Sakari Ailus
On Wed, May 16, 2018 at 01:19:34PM +0300, Sakari Ailus wrote: > Hi Hans, > > On Thu, May 03, 2018 at 04:53:02PM +0200, Hans Verkuil wrote: > > From: Hans Verkuil > > > > Integrate the request support. This adds the v4l2_ctrl_request_complete > > and v4l2_ctrl_request_setup functions to complete

Re: [PATCHv13 12/28] v4l2-ctrls: add core request support

2018-05-16 Thread Sakari Ailus
Hi Hans, On Thu, May 03, 2018 at 04:53:02PM +0200, Hans Verkuil wrote: > From: Hans Verkuil > > Integrate the request support. This adds the v4l2_ctrl_request_complete > and v4l2_ctrl_request_setup functions to complete a request and (as a > helper function) to apply a request to the hardware. >

Re: [PATCHv13 12/28] v4l2-ctrls: add core request support

2018-05-08 Thread Mauro Carvalho Chehab
Em Tue, 8 May 2018 10:07:22 +0200 Hans Verkuil escreveu: > >> diff --git a/include/media/v4l2-ctrls.h b/include/media/v4l2-ctrls.h > >> index 76352eb59f14..a0f7c38d1a90 100644 > >> --- a/include/media/v4l2-ctrls.h > >> +++ b/include/media/v4l2-ctrls.h > >> @@ -250,6 +250,10 @@ struct v4l2_ctrl {

Re: [PATCHv13 12/28] v4l2-ctrls: add core request support

2018-05-08 Thread Hans Verkuil
On 05/07/2018 08:06 PM, Mauro Carvalho Chehab wrote: > Em Thu, 3 May 2018 16:53:02 +0200 > Hans Verkuil escreveu: > >> From: Hans Verkuil >> >> Integrate the request support. This adds the v4l2_ctrl_request_complete >> and v4l2_ctrl_request_setup functions to complete a request and (as a >> hel

Re: [PATCHv13 12/28] v4l2-ctrls: add core request support

2018-05-07 Thread Mauro Carvalho Chehab
Em Thu, 3 May 2018 16:53:02 +0200 Hans Verkuil escreveu: > From: Hans Verkuil > > Integrate the request support. This adds the v4l2_ctrl_request_complete > and v4l2_ctrl_request_setup functions to complete a request and (as a > helper function) to apply a request to the hardware. > > It takes

[PATCHv13 12/28] v4l2-ctrls: add core request support

2018-05-03 Thread Hans Verkuil
From: Hans Verkuil Integrate the request support. This adds the v4l2_ctrl_request_complete and v4l2_ctrl_request_setup functions to complete a request and (as a helper function) to apply a request to the hardware. It takes care of queuing requests and correctly chaining control values in the req