Re: [git pull] drm request 3

From: Matthew Garrett
Date: Thu Mar 04 2010 - 14:04:56 EST


On Thu, Mar 04, 2010 at 10:55:57AM -0800, Linus Torvalds wrote:
> On Thu, 4 Mar 2010, Matthew Garrett wrote:
> >
> > When you asked that nouveau was merged, people explicitly told you that
> > the reason it hadn't been was because the interface was unstable and
> > userspace would break. You asked that it be merged anyway, and now
> > you're unhappy because the interface has changed and userspace has
> > broken?
>
> How hard is it to understand basic kernel development rules?
>
> Nouveau was in Fedora-12. In fact, it was in Fedora-11 too afaik. People
> can hide behind all the "staging" and "I asked for it" things they like,
> but that doesn't change simple basic facts: distros should make sure
> drivers get merged up-stream, and people end up depending on them.

It takes a long time to work out exactly what kind of userspace
interface you need when the hardware you're dealing with is entirely
undocumented. The reason it's been shipped in Fedora is that it needs to
be in front of actual users in order to get any testing at all, and we
have the manpower to ensure that the dependencies are consistent. But
most nouveau development isn't handled inside Red Hat, and we're in no
position to dictate terms to the volunteers who are spending their spare
time trying to write a useful driver.

> Btw, I'm hoping some of this pain goes away for me, because I expect to
> get rid of the shitty nVidia card reasonably soon. The fact that my main
> box had a power supply that literally _required_ a power-sucking-piece-
> of-sh*t-graphics card has been painful to me.

You'd have hit similar issues if you'd been using Radeon KMS over the
past couple of releases...

> But none of that changes my basic objections. I didn't ask for nouveau to
> be merged as staging - I asked it to be merged because a major distro uses
> it.

It was merged as staging because the interface is unstable, which is
consistent with staging's Kconfig:

"Please note that these drivers are under heavy development, may or may
not work, and may contain userspace interfaces that most likely will be
changed in the near future."

If you'd made it clear that you wanted the interface to be stable
before it got merged, I suspect that it simply wouldn't have been merged
until the interface was stable.
--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/