public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Jean Delvare <khali@linux-fr.org>
To: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: "Hans Verkuil" <hverkuil@xs4all.nl>,
	urishk@yahoo.com, linux-media@vger.kernel.org
Subject: Re: Minimum kernel version supported by v4l-dvb
Date: Sat, 21 Feb 2009 10:32:09 +0100	[thread overview]
Message-ID: <20090221103209.7f4fa1d0@hyperion.delvare> (raw)
In-Reply-To: <20090220212327.410a298b@pedra.chehab.org>

Hi Mauro,

Only answering points Hans didn't already answered (and I agree with
him):

On Fri, 20 Feb 2009 21:23:27 -0300, Mauro Carvalho Chehab wrote:
> On Wed, 18 Feb 2009 14:01:05 +0100
> Jean Delvare <khali@linux-fr.org> wrote:
> > Not necessarily something to be proud about. This only shows how slowly
> > v4l has evolved in the past few years. Big changes that should have
> > happen have been constantly postponed in the name of compatibility.
> 
> No change I'm aware of were postponed due to previous kernel compatibility.

I2C bus multiplexing support, including transparent support for I2C
gates, is waiting to be implemented since kernel 2.6.27. Unfortunately
it is fundamentally incompatible with the legacy i2c binding model, so
we have to clean this up first. As it happens, this will not happen
before 2.6.30 at best. That's a 6 month delay, which is essentially due
to the fact that the conversion of v4l drivers is lagging behind. While
I was able to convert all hwmon drivers quickly, and rtc drivers were
converted by other developers quickly as well, v4l drivers I couldn't
convert myself because of the backwards compatibility requirements.

As a matter of fact, I sent a patch converting the zoran driver to the
new i2c binding model in September 2008. It was working perfectly fine
for me. But it was breaking backwards compatibility, so Hans told me to
hold off and he would take care of the conversion the right way. He
just did last week... 5 months after my own code was ready.

What you see here is a delay of several months in getting a task done,
plus me wasting my time on code that was then thrown away because Hans
had to do it all over again in a different way. When things get to the
point where patches written for the upstream kernel have to be
discarded and rewritten from scratch for the external repository, I say
that things have become too complex. This is the point at which you
start losing contributions.

> (...)
> No. I'm saying that we should not exclude an user just because it uses a RHEL
> kernel (btw, there are some versions at RHEL aimed for desktop and notebooks
> also using 2.6.18).

And I claim, once again, that we should exclude such users, because you
can count them on the fingers of one hand worldwide. It's really not a
matter of desktop vs. server distribution. It is a matter of
Enterprise-grade distribution vs. home user distribution, and the
requirements and expectations attached to them. A home user running
RHEL on a recent desktop machine on which he/she intends to watch TV is
simply using the wrong tool for the job.

> > (...)
> > As a side note, I doubt that the v4l-dvb repository would always work
> > that well for enterprise distribution kernels anyway. All the tests are
> > based on the kernel version, but the enterprise kernels diverge a lot
> > over time from the upstream version they were originally based on, so I
> > wouldn't be surprised if things broke from times to times.
> 
> True, but, when something breaks, people complain and the support is added. The
> better way of adding a backport is by adding a small search string at
> v4l/scripts/make_config_compat.pl and adding the backport code at compat. This
> solves the issues with the distro kernels much better than just checking for a
> specific kernel version.

Ah, I didn't know about that script. The good news is that it means the
system is more robust than I thought. The bad news is that it is even
more complex than I thought...

Anyway, please don't keep track of my original request. All I was
really saying is that supporting both the legacy and the new i2c
binding models is next to impossible, because of the huge conceptual
difference between them, and for this reason we have to drop support
for kernels older than 2.6.22. Now you say that maybe we need to
rethink the v4l-dvb development model from the ground up. Maybe we do,
but that's a totally different issue.

Thanks,
-- 
Jean Delvare

  parent reply	other threads:[~2009-02-21  9:32 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-18  8:55 Minimum kernel version supported by v4l-dvb Hans Verkuil
2009-02-18 10:10 ` Mauro Carvalho Chehab
2009-02-18 13:01   ` Jean Delvare
2009-02-20  3:57     ` hermann pitton
2009-02-20  6:53       ` Hans Verkuil
2009-02-20  9:49         ` Jean Delvare
2009-02-20 10:39           ` hermann pitton
2009-02-21  0:23     ` Mauro Carvalho Chehab
2009-02-21  1:12       ` Hans Verkuil
2009-02-21  2:13         ` Mauro Carvalho Chehab
2009-02-21  2:40           ` hermann pitton
2009-02-21  7:28           ` Hans Verkuil
2009-02-21 11:58             ` Mauro Carvalho Chehab
2009-02-21 12:45               ` Hans Verkuil
2009-02-21 12:56                 ` Mauro Carvalho Chehab
2009-02-21 16:20                   ` hermann pitton
2009-02-21 14:26                 ` Jean Delvare
2009-02-21 12:06           ` Trent Piepho
2009-02-21 13:01             ` Mauro Carvalho Chehab
2009-02-21 13:11             ` Jean Delvare
2009-02-21 13:28               ` Hans Verkuil
2009-02-21 13:56                 ` Jean Delvare
2009-02-21 13:58               ` Trent Piepho
2009-02-22 10:09                 ` Jean Delvare
2009-02-21  1:30       ` kilgota
2009-02-21  2:18         ` Mauro Carvalho Chehab
2009-02-21 16:42           ` kilgota
2009-02-21 20:04             ` Jean Delvare
2009-02-21  9:32       ` Jean Delvare [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-02-18 10:54 Hans Verkuil
2009-02-18 11:54 ` Mauro Carvalho Chehab
2009-02-17 13:23 Jean Delvare
2009-02-17 22:24 ` Laurent Pinchart
2009-02-17 23:06   ` Hans Verkuil
2009-02-21 11:50     ` Mauro Carvalho Chehab
2009-02-21 12:01       ` Hans Verkuil
2009-02-18  0:08 ` Mauro Carvalho Chehab
2009-02-18  0:18   ` Hans Verkuil
2009-02-18  2:08     ` Mauro Carvalho Chehab
2009-02-18  7:36       ` Hans Verkuil
2009-02-18  8:30         ` Uri Shkolnik

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=20090221103209.7f4fa1d0@hyperion.delvare \
    --to=khali@linux-fr.org \
    --cc=hverkuil@xs4all.nl \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@infradead.org \
    --cc=urishk@yahoo.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