public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Jones <davej@redhat.com>
To: Dave Airlie <airlied@linux.ie>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>,
	Keith Whitwell <keith@tungstengraphics.com>,
	Christoph Hellwig <hch@infradead.org>,
	Jon Smirl <jonsmirl@yahoo.com>,
	dri-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org
Subject: Re: New proposed DRM interface design
Date: Sat, 4 Sep 2004 12:17:15 +0100	[thread overview]
Message-ID: <20040904111715.GA2785@redhat.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0409041151200.25475@skynet>

On Sat, Sep 04, 2004 at 11:54:06AM +0100, Dave Airlie wrote:
 
 > > Just out of interest, what would the scenario be if you do if you could
 > > get a compatible driver?
 > 
 > you just grab a DRI snapshot which contains new userspace and DRM, and
 > install it... it builds the DRM against your current kernel, now if your
 > current kernel has a DRM module built-in which is a different version, you
 > are screwed, snapshot process breaks..

You're also screwed if your vendor has AGPGART compiled into its kernel[1]
and your new card needs an AGPGART update.
Which is a valid thing to do if they want things like i810fb to work.
Or AMD64's IOMMU code. (Which is dependant on the agpgart having a view
on what its up to, otherwise loading the agpgart module later would cause
data corruption as it stomps all over the first half of the aperture where
the IOMMU put its mappings).

For the simple cases of just a PCI ID update, you could just echo the id
into agpgart's relevant sysfs file. But chipsets that need new/altered
code are going to cause a problem.

This is already causing havoc with ATI/NVIDIA/Matrox binary drivers that
ship their own agpgarts. I've seen all manner of oopses, crash reports
that are from two sets of agpgart code fighting it out. Now do you see
why I'm beating on these binary folks to give it up already and use
the in-kernel gart driver ? Without sounding all high and mighty,
they cannot win this game. The rest of the driver can stay binary only
for the rest of time for all I care, but running a modular agpgart
and a built-in agpgart is the fast road to a dead box.

 > It's one of the major successes I feel of the DRI project, those
 > snapshots allowed people with Radeon IGP chipsets to get 3d acceleration
 > long before now (they still can't get it any current distro), same goes
 > for i915 as Keith points out..

It's something I ranted about yesterday on dri-devel in regards to ATI,
I really expected more of opensource developers.  Encouraging end-users
to run ancient kernels is a *BAD* idea. Both from a security/stability
standpoint, and a code maintainability standpoint.

		Dave

[1] Of which Fedora/RHEL is one of these.


  reply	other threads:[~2004-09-04 11:20 UTC|newest]

Thread overview: 111+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-04  0:12 New proposed DRM interface design Dave Airlie
2004-09-04  0:44 ` Jon Smirl
2004-09-04  0:51   ` Dave Airlie
2004-09-04  1:20     ` Jon Smirl
2004-09-04  4:58       ` Dave Airlie
2004-09-04  9:29     ` Christoph Hellwig
2004-09-04  9:43       ` Dave Airlie
2004-09-04  9:47         ` Christoph Hellwig
2004-09-04  9:48         ` Arjan van de Ven
2004-09-04  9:50           ` Christoph Hellwig
2004-09-04  9:45       ` Keith Whitwell
2004-09-04  9:48         ` Christoph Hellwig
2004-09-04 10:23           ` Keith Whitwell
2004-09-04 10:25             ` Christoph Hellwig
2004-09-04 10:30               ` Keith Whitwell
2004-09-04 10:44                 ` Nick Piggin
2004-09-04 10:54                   ` Dave Airlie
2004-09-04 11:17                     ` Dave Jones [this message]
2004-09-04 12:58                     ` Sam Ravnborg
2004-09-04 21:06                     ` Lee Revell
2004-09-05 10:14                     ` Donnie Berkholz
2004-09-04 10:57                   ` Keith Whitwell
2004-09-04 11:03                 ` Christoph Hellwig
2004-09-04 11:12                   ` Dave Airlie
2004-09-04 11:13                     ` Christoph Hellwig
2004-09-04 11:24                       ` Dave Airlie
2004-09-04 11:26                         ` Christoph Hellwig
2004-09-04 21:34                           ` Lee Revell
2004-09-04 22:41                             ` viro
2004-09-04 23:33                               ` Lee Revell
2004-09-05  2:10                             ` Horst von Brand
2004-09-05  3:42                               ` Lee Revell
2004-09-04 11:42                     ` Dave Jones
2004-09-04 11:50                       ` Keith Whitwell
2004-09-04 21:35                       ` Lee Revell
2004-09-04 22:06                         ` Dave Airlie
2004-09-05 12:00                           ` Alan Cox
2004-09-04 11:18                   ` Keith Whitwell
2004-09-04 11:20                     ` Christoph Hellwig
2004-09-04 11:30                       ` Keith Whitwell
2004-09-04 11:33                         ` Christoph Hellwig
2004-09-04 11:44                           ` Keith Whitwell
2004-09-04 11:29                 ` Dave Jones
2004-09-04 11:41                   ` Keith Whitwell
2004-09-04 11:46                     ` Christoph Hellwig
2004-09-04 12:04                       ` Dave Airlie
2004-09-04 12:10                         ` Dave Jones
2004-09-04 12:35                           ` Keith Whitwell
2004-09-04 12:25                         ` Christoph Hellwig
2004-09-04 21:45                           ` Lee Revell
2004-09-04 16:39                         ` Alan Cox
2004-09-04 11:54                     ` Dave Jones
2004-09-04 12:08                       ` Keith Whitwell
2004-09-04 12:17                         ` Dave Airlie
2004-09-04 12:21                           ` Christoph Hellwig
2004-09-04 12:32                             ` Dave Airlie
2004-09-04 12:30                           ` Arjan van de Ven
2004-09-04 12:36                             ` Dave Airlie
2004-09-04 22:17                               ` Dave Airlie
2004-09-04 22:21                                 ` Christoph Hellwig
2004-09-04 23:08                                 ` Felix Kühling
2004-09-04 12:20                         ` Dave Jones
2004-09-04 13:52                           ` Keith Whitwell
2004-09-04 15:36                             ` Jon Smirl
2004-09-04 15:56                               ` Dieter Nützel
2004-09-04 17:43                               ` Keith Whitwell
2004-09-04 18:03                                 ` Jon Smirl
2004-09-05 12:07                                   ` Alan Cox
2004-09-05 15:05                                     ` Jon Smirl
2004-09-05 14:15                                       ` Alan Cox
2004-09-05 15:33                                         ` Jon Smirl
2004-09-05 14:44                                           ` Alan Cox
2004-09-05 14:58                                             ` Alan Cox
2004-09-05 16:05                                             ` Jon Smirl
2004-09-05 15:13                                               ` Alan Cox
2004-09-07  8:43                                               ` Helge Hafting
2004-09-07 14:04                                                 ` Jon Smirl
2004-09-08 11:09                                                   ` Helge Hafting
2004-09-06  6:06                                           ` Ryan Underwood
2004-09-05 15:31                                       ` Alan Cox
2004-09-05 17:27                                         ` Jesse Barnes
2004-09-05 21:12                                         ` Jon Smirl
2004-09-05 20:53                                           ` Alan Cox
2004-09-05 22:11                                             ` Jon Smirl
2004-09-05 22:59                                               ` Alan Cox
2004-09-06 20:58                                                 ` Hamie
2004-09-06 20:15                                                   ` Alan Cox
2004-09-06 21:38                                                     ` Hamie
2004-09-06 21:47                                                       ` Jon Smirl
2004-09-06 22:18                                                     ` Patrick McFarland
2004-09-07 19:21       ` Ian Romanick
2004-09-04  0:54 ` Alex Deucher
2004-09-04  0:59   ` Dave Airlie
2004-09-04  1:25     ` Jon Smirl
2004-09-04 19:03       ` Alex Deucher
2004-09-04  3:51     ` Jon Smirl
2004-09-04  4:52       ` Dave Airlie
2004-09-04  6:04         ` Jon Smirl
2004-09-04  7:36           ` Keith Whitwell
2004-09-04  7:53             ` Dave Airlie
2004-09-04  8:25               ` Keith Whitwell
2004-09-04  8:37                 ` Dave Airlie
2004-09-04  9:02                   ` Keith Whitwell
2004-09-04 16:01             ` Jon Smirl
2004-09-04 17:44               ` Keith Whitwell
2004-09-04  7:52           ` Dave Airlie
2004-09-04 15:46             ` Jon Smirl
     [not found]           ` <2191E8A1-FE89-11D8-BFDA-000A95F07A7A@fs.ei.tum.de>
2004-09-04 15:59             ` Jon Smirl
2004-09-04 21:35               ` Eric Anholt
2004-09-07 21:01               ` Ian Romanick
2004-09-04  9:27 ` Christoph Hellwig

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=20040904111715.GA2785@redhat.com \
    --to=davej@redhat.com \
    --cc=airlied@linux.ie \
    --cc=dri-devel@lists.sourceforge.net \
    --cc=hch@infradead.org \
    --cc=jonsmirl@yahoo.com \
    --cc=keith@tungstengraphics.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nickpiggin@yahoo.com.au \
    /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