Re: [RFC v2 00/10] Preparing the request API

2018-03-27 Thread Hans Verkuil
Status update: Current work-in-progress tree: https://git.linuxtv.org/hverkuil/media_tree.git/log/?h=reqv8 v4l2-compliance test code: https://git.linuxtv.org/hverkuil/v4l-utils.git/log/?h=request It is now working for me with v4l2-compliance and vim2m and vivid. All requests and request objec

Re: [RFC v2 00/10] Preparing the request API

2018-03-26 Thread Hans Verkuil
On 03/25/2018 06:17 PM, Hans Verkuil wrote: >> So this weekend I worked on a merger of this work and the RFCv4 Request API >> patch series, taking what I think are the best bits of both. >> >> It is available here: >> >> https://git.linuxtv.org/hverkuil/media_tree.git/log/?h=reqv6 > > I reorganize

Re: [RFC v2 00/10] Preparing the request API

2018-03-26 Thread Sakari Ailus
On Mon, Mar 26, 2018 at 10:31:50AM +0200, Hans Verkuil wrote: > On 03/26/2018 09:58 AM, Sakari Ailus wrote: > > Hi Hans, > > > > On Sun, Mar 25, 2018 at 06:17:30PM +0200, Hans Verkuil wrote: > >> On 03/25/2018 05:12 PM, Hans Verkuil wrote: > >>> Hi all, > >>> > >>> On 03/23/2018 10:17 PM, Sakari A

Re: [RFC v2 00/10] Preparing the request API

2018-03-26 Thread Hans Verkuil
On 03/26/2018 09:58 AM, Sakari Ailus wrote: > Hi Hans, > > On Sun, Mar 25, 2018 at 06:17:30PM +0200, Hans Verkuil wrote: >> On 03/25/2018 05:12 PM, Hans Verkuil wrote: >>> Hi all, >>> >>> On 03/23/2018 10:17 PM, Sakari Ailus wrote: Hi folks, This preliminary RFC patchset prepares fo

Re: [RFC v2 00/10] Preparing the request API

2018-03-26 Thread Sakari Ailus
Hi Hans, On Sun, Mar 25, 2018 at 06:17:30PM +0200, Hans Verkuil wrote: > On 03/25/2018 05:12 PM, Hans Verkuil wrote: > > Hi all, > > > > On 03/23/2018 10:17 PM, Sakari Ailus wrote: > >> Hi folks, > >> > >> This preliminary RFC patchset prepares for the request API. What's new > >> here is support

Re: [RFC v2 00/10] Preparing the request API

2018-03-25 Thread Alexandre Courbot
On Sat, Mar 24, 2018 at 6:17 AM, Sakari Ailus wrote: > Hi folks, > > This preliminary RFC patchset prepares for the request API. What's new > here is support for binding arbitrary configuration or resources to > requests. > > There are a few new concepts here: > > Class --- a type of configuration

Re: [RFC v2 00/10] Preparing the request API

2018-03-25 Thread Hans Verkuil
On 03/25/2018 05:12 PM, Hans Verkuil wrote: > Hi all, > > On 03/23/2018 10:17 PM, Sakari Ailus wrote: >> Hi folks, >> >> This preliminary RFC patchset prepares for the request API. What's new >> here is support for binding arbitrary configuration or resources to >> requests. >> >> There are a few

Re: [RFC v2 00/10] Preparing the request API

2018-03-25 Thread Hans Verkuil
Hi all, On 03/23/2018 10:17 PM, Sakari Ailus wrote: > Hi folks, > > This preliminary RFC patchset prepares for the request API. What's new > here is support for binding arbitrary configuration or resources to > requests. > > There are a few new concepts here: > > Class --- a type of configurati

[RFC v2 00/10] Preparing the request API

2018-03-23 Thread Sakari Ailus
Hi folks, This preliminary RFC patchset prepares for the request API. What's new here is support for binding arbitrary configuration or resources to requests. There are a few new concepts here: Class --- a type of configuration or resource a driver (or e.g. the V4L2 framework) can attach to a re