From: Dave Airlie <airlied@linux.ie>
To: Ian Romanick <idr@us.ibm.com>
Cc: dri-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org
Subject: Re: DRM function pointer work..
Date: Fri, 6 Aug 2004 00:54:26 +0100 (IST) [thread overview]
Message-ID: <Pine.LNX.4.58.0408060043300.9947@skynet> (raw)
In-Reply-To: <4112C09B.1070603@us.ibm.com>
[lk ppl have a look at the start of this thread in the dri-devel archives
on marc.theaimsgroup.com...]
> 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?
they don't let crazy people build stuff outside the tree as far as I know
... also they make you build against the current kernel headers, so we
would have to have the drm headers in include/linux/drm or somewhere like
that, and build the modules against them, but then what happens if you
want to build a new drm module out of tree..
two things make my head hurt, 32/64 interfaces and versioning.., maybe
some more experienced kernel heads could join this and tell us the best
way to go?
Dave.
--
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
pam_smb / Linux DECstation / Linux VAX / ILUG person
next parent reply other threads:[~2004-08-05 23:55 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 ` Dave Airlie [this message]
2004-08-07 14:43 ` Christoph Hellwig
[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=Pine.LNX.4.58.0408060043300.9947@skynet \
--to=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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®