Return-path: Received: from lb1-smtp-cloud7.xs4all.net ([194.109.24.24]:50152 "EHLO lb1-smtp-cloud7.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752403AbeBFJuE (ORCPT ); Tue, 6 Feb 2018 04:50:04 -0500 Subject: Re: [RFCv2 00/17] Request API, take three To: Alexandre Courbot , Mauro Carvalho Chehab , Laurent Pinchart , Pawel Osciak , Marek Szyprowski , Tomasz Figa , Sakari Ailus , Gustavo Padovan Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org References: <20180131102427.207721-1-acourbot@chromium.org> From: Hans Verkuil Message-ID: Date: Tue, 6 Feb 2018 10:49:59 +0100 MIME-Version: 1.0 In-Reply-To: <20180131102427.207721-1-acourbot@chromium.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-media-owner@vger.kernel.org List-ID: Hi Alexandre, On 01/31/18 11:24, Alexandre Courbot wrote: > This is a quickly-put together revision that includes and uses Hans' work to > use v4l2_ctrl_handler as the request state holder for V4L2 devices. Although > minor fixes have also been applied, there are still a few comments from the > previous revision that are left unaddressed. I wanted to give Hans something > to play with before he forgets what he had in mind for controls. ;) > > Changelog since v1: > * Integrate Hans control framework patches so S_EXT_CTRLS and G_EXT_CTRLS now > work with requests > * Only allow one buffer at a time for a given request in the buffer queue > * Applied comments related to documentation and document control ioctls > * Minor small fixes > > I have also updated the very basic program that demonstrates the use of the > request API on vim2m: > > https://gist.github.com/Gnurou/dbc3776ed97ea7d4ce6041ea15eb0438 > > It does not do much, but gives a practical idea of how requests should be used. Can you rebase and repost? It doesn't apply anymore to the latest media_tree master. Among others v4l2-core/videobuf2-* has been moved to common/videobuf2/videobuf2-*. But there are also conflicts in v4l2-compat-ioctl32.c. Thanks! Hans