From: Andi Kleen <ak@suse.de>
To: Dave Airlie <airlied@gmail.com>
Cc: linux-kernel@vger.kernel.org, eich@suse.de
Subject: Re: status of DRM_MGA on x86_64
Date: 30 Oct 2004 15:57:18 +0200 [thread overview]
Message-ID: <p73k6t8z4u9.fsf@verdi.suse.de> (raw)
In-Reply-To: <21d7e997041030041748b60ce7@mail.gmail.com.suse.lists.linux.kernel>
Dave Airlie <airlied@gmail.com> writes:
> sorry missed the list....
>
Ok my answers again.
> > It was solved long ago for the Radeon driver by Egbert Eich.
> > But for some unknown reason the DRI people never merged his patches.
>
> Because no-one agreed that his solution was clean enough for use,
> no-one contributed well described patches of the separate pieces to
> drm or dri,
>
> At the moment any solution to the 32/64-bit DRI will either break pure
> 64-bit systems or break 32/64-bit mixed systems, nobody has stepped
> forward and said that either of these are acceptable,
In short I think it doesn't make sense. There is enough existence
proof that you can write working 32bit emulation layers without
breaking any backwards compatibility. From my experiences with Egberts
patches there are also no compatibility problems.
You pay some cost for the conversion, but it tends to be not significant
(iirc from Egbert's results the non native case was not significantly
slower in ViewPerf)
Some people have attempted to design biarch ABIs in the past
for new interfaces, but more often than not they got it wrong in some
subtle detail and in the end you had to convert anyways.
> and no drm
> developer has the hardware to work on it,
Well, Egbert has and he wrote the code.
There is a working patch that you just need to apply, isn't there?
> This 64-bit vs 32/64-bit stuff has been on my drm todo list for ages
> but I've neither received clean patches or someone who has the test
> environment to convince me that breaking one or other of the currently
> working systems is acceptable...
Again you don't need to break anything. You just convert the ABI.
As a short layman's introduction on how Linux 32bit compatibility
works see http://www.firstfloor.org/~andi/writing-ioctl32
(some details are unfortunately outdated for 2.6, but you'll get
the high level view)
-Andi
next parent reply other threads:[~2004-10-30 13:57 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1099052450.11282.72.camel@hostmaster.org.suse.lists.linux.kernel.suse.lists.linux.kernel>
[not found] ` <1099061384.11918.4.camel@hostmaster.org.suse.lists.linux.kernel.suse.lists.linux.kernel>
[not found] ` <41829E39.1000909@us.ibm.com.suse.lists.linux.kernel.suse.lists.linux.kernel>
[not found] ` <1099097616.11918.26.camel@hostmaster.org.suse.lists.linux.kernel.suse.lists.linux.kernel>
[not found] ` <p734qkd0y0n.fsf@verdi.suse.de.suse.lists.linux.kernel>
[not found] ` <21d7e99704103004155d2826fb@mail.gmail.com.suse.lists.linux.kernel>
[not found] ` <21d7e997041030041748b60ce7@mail.gmail.com.suse.lists.linux.kernel>
2004-10-30 13:57 ` Andi Kleen [this message]
[not found] <1099052450.11282.72.camel@hostmaster.org.suse.lists.linux.kernel>
[not found] ` <1099061384.11918.4.camel@hostmaster.org.suse.lists.linux.kernel>
[not found] ` <41829E39.1000909@us.ibm.com.suse.lists.linux.kernel>
[not found] ` <1099097616.11918.26.camel@hostmaster.org.suse.lists.linux.kernel>
2004-10-30 1:56 ` Andi Kleen
[not found] ` <21d7e99704103004155d2826fb@mail.gmail.com>
2004-10-30 11:17 ` Dave Airlie
2004-10-30 18:08 ` Thomas Zehetbauer
2004-11-01 9:51 ` Egbert Eich
2004-11-01 10:16 ` Dave Airlie
2004-11-01 13:48 ` Egbert Eich
2004-10-29 12:20 Thomas Zehetbauer
2004-10-29 14:49 ` Thomas Zehetbauer
2004-10-29 19:47 ` Ian Romanick
2004-10-30 0:53 ` Thomas Zehetbauer
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=p73k6t8z4u9.fsf@verdi.suse.de \
--to=ak@suse.de \
--cc=airlied@gmail.com \
--cc=eich@suse.de \
--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
Powered by JetHome