From: Christoph Hellwig <hch@infradead.org>
To: Dave Airlie <airlied@linux.ie>
Cc: Ian Romanick <idr@us.ibm.com>,
dri-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org
Subject: Re: DRM function pointer work..
Date: Sat, 7 Aug 2004 15:43:57 +0100 [thread overview]
Message-ID: <20040807154357.A18510@infradead.org> (raw)
In-Reply-To: <Pine.LNX.4.58.0408060043300.9947@skynet>; from airlied@linux.ie on Fri, Aug 06, 2004 at 12:54:26AM +0100
On Fri, Aug 06, 2004 at 12:54:26AM +0100, Dave Airlie wrote:
>
> > I guess one (unpleasant) way to make it work would be to add the version to
> > all the symbols in the device-independent layer. Instead of drm_foo you'd
> > have drm_foo_100 or drm_foo_101 or whatever. You could then have multiple
> > modules loaded or a module loaded with a built-in version. I'm not sure how
> > happy that would make the kernel maintainers (not to mention how happy it
> > would make us). :( It's basically like what we have now, except the current
> > code has the device's name add to all the symbols and is built into the
> > device-dependent module. Ugh, ugh.
> >
> > How do other multi-layer kernel modules handle this? For example, how does
> > agpgart or iptables do it?
Just make sure the driver core and subdrivers are always in sync. That's an
entirely sensible thing and how all other subsystems with lowlevel calls work.
next prev parent reply other threads:[~2004-08-07 14:44 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.4.58.0408031427540.31513@skynet>
[not found] ` <Pine.LNX.4.58.0408041201490.30393@skynet>
[not found] ` <41128B90.5070702@us.ibm.com>
[not found] ` <Pine.LNX.4.58.0408052338010.9947@skynet>
[not found] ` <4112C09B.1070603@us.ibm.com>
2004-08-05 23:54 ` DRM function pointer work Dave Airlie
2004-08-07 14:43 ` Christoph Hellwig [this message]
[not found] <20040806024907.13024.qmail@web14923.mail.yahoo.com>
2004-08-06 16:32 ` Ian Romanick
2004-08-06 16:54 ` Keith Whitwell
2004-08-06 17:16 ` Jon Smirl
2004-08-06 17:20 ` Keith Whitwell
2004-08-06 17:46 ` Jon Smirl
2004-08-07 22:42 ` Dave Jones
2004-08-06 17:24 ` Keith Whitwell
2004-08-06 17:48 ` Jon Smirl
2004-08-07 0:11 ` Dave Airlie
2004-08-07 14:47 ` Christoph Hellwig
2004-08-07 13:31 ` Alan Cox
2004-08-07 14:48 ` Christoph Hellwig
2004-08-07 14:46 ` 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=20040807154357.A18510@infradead.org \
--to=hch@infradead.org \
--cc=airlied@linux.ie \
--cc=dri-devel@lists.sourceforge.net \
--cc=idr@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.