From: Laurent Pinchart <laurent.pinchart@skynet.be>
To: Hans Verkuil <hverkuil@xs4all.nl>
Cc: video4linux-list@redhat.com,
"v4l-dvb maintainer list" <v4l-dvb-maintainer@linuxtv.org>,
"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
linux-kernel@vger.kernel.org,
davinci-linux-open-source-bounces@linux.davincidsp.com,
Mauro Carvalho Chehab <mchehab@infradead.org>
Subject: Re: [PULL] http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-ng
Date: Tue, 2 Dec 2008 18:01:38 +0100 [thread overview]
Message-ID: <200812021801.39073.laurent.pinchart@skynet.be> (raw)
In-Reply-To: <200812011547.27644.hverkuil@xs4all.nl>
Hi Hans,
On Monday 01 December 2008, Hans Verkuil wrote:
> On Monday 01 December 2008 15:24:43 Laurent Pinchart wrote:
[snip]
> > In a few months time (probably even earlier) the v4l2_device
> > structure will be reworked (and possible renamed). I'm fine with it
> > going to linux-next now if we agree on the following.
> >
> > - We should only advocate v4l2_device usage for subdevices-aware
> > video devices. Porting all drivers to v4l2_device is currently
> > pointless and will only make future transitions more difficult.
>
> Agreed. For now it is only relevant for drivers that use subdevices.
>
> > - v4l2_device should be marked as experimental. I don't want to hear
> > any API/ABI breakage argument in a few months time when the framework
> > will evolve.
>
> Am I overlooking something? This API is a kernel API, not a public API.
> Hence if I (or anyone else for that matter) make future changes then it
> is my responsibility to adapt all other drivers that are affected at
> the same time. I don't see how any of this could break compatibility.
> Except for out-of-kernel drivers, of course. But that's the risk that
> they always run.
You're right. It might be useful to state that the API is a work in progress
in the documentation, but I'll let you decide on that.
> Marking this API as experimental seems pointless to me. It either works
> and so is available for use or it doesn't and then it is a plain old
> bug that needs to be fixed. I also know already that there will be
> changes as e.g. sensors require a new ops category and v4l2_device
> might need a notifier callback as well. However, I'm not going to
> implement that until there is also a driver that uses it (adding
> functionality to an internal API just because it might be needed in the
> future is a really bad idea).
Best regards,
Laurent Pinchart
next prev parent reply other threads:[~2008-12-02 17:01 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-01 11:46 Hans Verkuil
2008-12-01 12:27 ` Mauro Carvalho Chehab
2008-12-01 12:31 ` Hans Verkuil
2008-12-01 12:31 ` Laurent Pinchart
2008-12-01 12:51 ` Hans Verkuil
2008-12-01 13:29 ` Laurent Pinchart
2008-12-01 13:45 ` Hans Verkuil
2008-12-01 14:24 ` Laurent Pinchart
2008-12-01 14:47 ` Hans Verkuil
2008-12-02 17:01 ` Laurent Pinchart [this message]
2008-12-01 15:06 ` Mauro Carvalho Chehab
2008-12-01 18:07 ` Hans Verkuil
2008-12-02 16:58 ` Laurent Pinchart
2008-12-02 17:21 ` Mauro Carvalho Chehab
2008-12-02 17:26 ` Hans Verkuil
2008-12-02 0:02 ` Andy Walls
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200812021801.39073.laurent.pinchart@skynet.be \
--to=laurent.pinchart@skynet.be \
--cc=davinci-linux-open-source-bounces@linux.davincidsp.com \
--cc=hverkuil@xs4all.nl \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=mchehab@infradead.org \
--cc=v4l-dvb-maintainer@linuxtv.org \
--cc=video4linux-list@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®