linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hans Verkuil <hverkuil@xs4all.nl>
To: Mauro Carvalho Chehab <mchehab@redhat.com>
Cc: Hans de Goede <hdegoede@redhat.com>,
	Linux Media Mailing List <linux-media@vger.kernel.org>
Subject: Re: Some comments on the new autocluster patches
Date: Sat, 2 Jul 2011 11:36:31 +0200	[thread overview]
Message-ID: <201107021136.31542.hverkuil@xs4all.nl> (raw)
In-Reply-To: <4E0E6C6E.7050408@redhat.com>

On Saturday, July 02, 2011 02:55:10 Mauro Carvalho Chehab wrote:
> Em 01-07-2011 12:06, Hans de Goede escreveu:
> > Hi Hans (et all),
> > 
> > I've been working on doing a much needed cleanup to the pwc driver,
> > converting it to videobuf2 and using the new ctrl framework.
> > 
> > I hope to be able to send a pull request for this, this weekend.
> > 
> > I saw your pull request and I'm looking forward to be able to
> > play with ctrl events. I do have some comments on your autofoo
> > cluster patches and related changes though.
> >
> 
> Hi Hans & Hans,
> 
> I've applied Hans V. patches at the tree, to allow them to be better
> tested. I'm not 100% comfortable with the patches, and, from my understanding
> the poll() changes are needed, in order to fix vivi behavior and add the
> event patches for ivtv. I didn't have much time to test the patches (is qv4l2
> already ready to test them?)

I have a version that I use for testing in this repo:

http://git.linuxtv.org/hverkuil/v4l-utils.git?a=shortlog;h=refs/heads/core

It's pretty ugly, though. Now that the patches are merged I'll work on cleaning
it up. I do have patches for v4l2-ctl as well to easily test control events.
That's good code and I'll commit that today.

Regarding qv4l2: as long as the poll() situation is not resolved I can't commit
it to v4l-utils anyway. It is just doesn't work in that specific situation.

> Due to that, it is probably safer to hold those patches to be merged upstream 
> at 3.2, after playing with them for a while at the development tree and at -next.

Note that the only time these patches become problematic is when you want to
wait on events, and just events. None of these patches will break existing
applications. It is also not a new problem, we had this issue ever since we
introduced DQEVENT. It's just that this new control event is more likely to
be used in situations where this issue is triggered (e.g. qv4l2-like apps).

Since this control event is also going to be used in embedded applications
(flash API and the HDMI API we are working on) I am not in favor of delaying
this an extra kernel cycle. Delaying the qv4l2 changes is another matter of
course. Those will have to wait. Hmm, I could only enable the control events
in qv4l2 for drivers that do *not* support the read/write API. That would
work, I guess. I'll have to think about that a bit.

Regards,

	Hans

> So, feel free to suggest changes without being stick to the current API, as, while
> they're not merging upstream, we can change/fix some things that aren't behaving
> well.


  reply	other threads:[~2011-07-02  9:36 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-01 15:06 Some comments on the new autocluster patches Hans de Goede
2011-07-01 16:21 ` Hans Verkuil
2011-07-02 10:28   ` Hans de Goede
2011-07-02 11:10     ` Hans Verkuil
2011-07-02 14:31       ` Hans de Goede
2011-07-04  9:43         ` Hans Verkuil
2011-07-12 13:25           ` Hans de Goede
2011-07-26  9:26             ` Hans Verkuil
2011-07-26 13:51               ` Hans de Goede
2011-07-26 14:19                 ` Hans Verkuil
2011-07-26 14:38                   ` Hans de Goede
2011-07-26 14:39                     ` Hans Verkuil
2011-07-02  0:55 ` Mauro Carvalho Chehab
2011-07-02  9:36   ` Hans Verkuil [this message]
2011-07-02 18:33     ` Mauro Carvalho Chehab

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=201107021136.31542.hverkuil@xs4all.nl \
    --to=hverkuil@xs4all.nl \
    --cc=hdegoede@redhat.com \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@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;
as well as URLs for NNTP newsgroup(s).