* Re: status of DRM_MGA on x86_64
[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-11-01 9:51 ` Egbert Eich
0 siblings, 2 replies; 11+ messages in thread
From: Andi Kleen @ 2004-10-30 1:56 UTC (permalink / raw)
To: Thomas Zehetbauer; +Cc: linux-kernel, idr, eich
Thomas Zehetbauer <thomasz@hostmaster.org> writes:
> On Fre, 2004-10-29 at 12:47 -0700, Ian Romanick wrote:
> > The problem, which exists with most (all?) DRM drivers, is that data
> > types are used in the kernel/user interface that have different sizes on
> > LP32 and LP64. If your kernel is 64-bit, you will have problems with
> > 32-bit applications.
That was not the reason I disabled it. I reenabled it now in my tree.
> Then either all or no DRM drivers should be enabled on x86_64, the
> DRM_TDFX, DRM_R128, DRM_RADEON and DRM_SIS are not currently disabled. I
> vote for enabling all drivers that work with 64-bit applications.
> I wonder if this should be the first and only place where different
> kernel/userland bitness causes problems. How has this been solved
> elsewhere?
It was solved long ago for the Radeon driver by Egbert Eich.
But for some unknown reason the DRI people never merged his patches.
-Andi
^ permalink raw reply [flat|nested] 11+ messages in thread[parent not found: <21d7e99704103004155d2826fb@mail.gmail.com>]
* Re: status of DRM_MGA on x86_64
[not found] ` <21d7e99704103004155d2826fb@mail.gmail.com>
@ 2004-10-30 11:17 ` Dave Airlie
2004-10-30 18:08 ` Thomas Zehetbauer
0 siblings, 1 reply; 11+ messages in thread
From: Dave Airlie @ 2004-10-30 11:17 UTC (permalink / raw)
To: Linux Kernel Mailing Lists
sorry missed the list....
---------- Forwarded message ----------
From: Dave Airlie <airlied@gmail.com>
Date: Sat, 30 Oct 2004 21:15:45 +1000
Subject: Re: status of DRM_MGA on x86_64
To: Andi Kleen <ak@suse.de>
>
> 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, and no drm
developer has the hardware to work on it,
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... so we are currently in a state of
breaking backwards compat for 64-bit vs breaking backways compat for
32/64-bit.... I've no idea which one is acceptable, and I'm not going
to spend time developing a patch for one to have it refused because it
breaks compat with the other....
Someone needs to make the big decision, (IMHO only Linus or Andrew can
really make it as it's their kernels that will have the issues...)
Dave.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: status of DRM_MGA on x86_64
2004-10-30 1:56 ` status of DRM_MGA on x86_64 Andi Kleen
[not found] ` <21d7e99704103004155d2826fb@mail.gmail.com>
@ 2004-11-01 9:51 ` Egbert Eich
2004-11-01 10:16 ` Dave Airlie
1 sibling, 1 reply; 11+ messages in thread
From: Egbert Eich @ 2004-11-01 9:51 UTC (permalink / raw)
To: Andi Kleen; +Cc: Thomas Zehetbauer, linux-kernel, idr, eich
Andi Kleen writes:
> Thomas Zehetbauer <thomasz@hostmaster.org> writes:
>
> > On Fre, 2004-10-29 at 12:47 -0700, Ian Romanick wrote:
> > > The problem, which exists with most (all?) DRM drivers, is that data
> > > types are used in the kernel/user interface that have different sizes on
> > > LP32 and LP64. If your kernel is 64-bit, you will have problems with
> > > 32-bit applications.
>
> That was not the reason I disabled it. I reenabled it now in my tree.
>
> > Then either all or no DRM drivers should be enabled on x86_64, the
> > DRM_TDFX, DRM_R128, DRM_RADEON and DRM_SIS are not currently disabled. I
> > vote for enabling all drivers that work with 64-bit applications.
>
> > I wonder if this should be the first and only place where different
> > kernel/userland bitness causes problems. How has this been solved
> > elsewhere?
>
> It was solved long ago for the Radeon driver by Egbert Eich.
> But for some unknown reason the DRI people never merged his patches.
>
I solved it for RADEON, MGA and R128.
It would be interesting to solve this for the i915 driver, too,
and possibly some others.
That it hasn't been merged into DRI yet is a shame. Appearantly
nobody has ever realized why this stuff is useful. Unfortunately
I don't have the time for lobbying it.
It's a very boring undertaking to have to port this from one DRI
version to the next.
Egbert.
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: status of DRM_MGA on x86_64
2004-11-01 9:51 ` Egbert Eich
@ 2004-11-01 10:16 ` Dave Airlie
2004-11-01 13:48 ` Egbert Eich
0 siblings, 1 reply; 11+ messages in thread
From: Dave Airlie @ 2004-11-01 10:16 UTC (permalink / raw)
To: Egbert Eich; +Cc: Andi Kleen, Thomas Zehetbauer, linux-kernel, idr
>
> I solved it for RADEON, MGA and R128.
> It would be interesting to solve this for the i915 driver, too,
> and possibly some others.
>
> That it hasn't been merged into DRI yet is a shame. Appearantly
> nobody has ever realized why this stuff is useful. Unfortunately
> I don't have the time for lobbying it.
> It's a very boring undertaking to have to port this from one DRI
> version to the next.
Ian, can you look at this I think you are the best person (maybe
Keithw) to tell whether this stuff breaks compat in any direction,.
Egbert you may not want to lobby for it but all I personally want to
know is what it might potentially break in terms of backwards
compatiblity.... from SuSEs point of view as long as a distro is
consistent then you are okay, for us the whole keeping DRIs built
against older kernels working with newer kernels is the only real
issue...
Hopefully Ian can look at the patch and decide on it....
Dave.
Dave.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: status of DRM_MGA on x86_64
2004-11-01 10:16 ` Dave Airlie
@ 2004-11-01 13:48 ` Egbert Eich
0 siblings, 0 replies; 11+ messages in thread
From: Egbert Eich @ 2004-11-01 13:48 UTC (permalink / raw)
To: Dave Airlie; +Cc: Egbert Eich, Andi Kleen, Thomas Zehetbauer, linux-kernel, idr
Dave Airlie writes:
>
> Ian, can you look at this I think you are the best person (maybe
> Keithw) to tell whether this stuff breaks compat in any direction,.
> Egbert you may not want to lobby for it but all I personally want to
> know is what it might potentially break in terms of backwards
> compatiblity.... from SuSEs point of view as long as a distro is
> consistent then you are okay, for us the whole keeping DRIs built
> against older kernels working with newer kernels is the only real
> issue...
Right. I know. I've looked into this.
I thought I had fixed the last remaining backward compatibility
between kernel and DRI (libraries and Xserver) by adding compatibility
ioctls.
I still plan to revisit this issue and see if I can modify the code
such that I don't need those compatibility ioctls.
>
> Hopefully Ian can look at the patch and decide on it....
>
OK. An earlier version is in the freedesktop CVS (#943). If you want
I make a port to the DRI head. Unfortunately I probably won't be able
to get at it for the next 2 - 3 weeks.
Egbert.
^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <1099052450.11282.72.camel@hostmaster.org.suse.lists.linux.kernel.suse.lists.linux.kernel>]
* status of DRM_MGA on x86_64
@ 2004-10-29 12:20 Thomas Zehetbauer
2004-10-29 14:49 ` Thomas Zehetbauer
0 siblings, 1 reply; 11+ messages in thread
From: Thomas Zehetbauer @ 2004-10-29 12:20 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 353 bytes --]
Hi,
what is the status of DRM_MGA on x86_64? It has been marked broken about
10 months ago with no detailed explanation.
Tom
--
T h o m a s Z e h e t b a u e r ( TZ251 )
PGP encrypted mail preferred - KeyID 96FFCB89
finger thomasz@hostmaster.org for key
Experience is what you get when you expected something else.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 481 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: status of DRM_MGA on x86_64
2004-10-29 12:20 Thomas Zehetbauer
@ 2004-10-29 14:49 ` Thomas Zehetbauer
2004-10-29 19:47 ` Ian Romanick
0 siblings, 1 reply; 11+ messages in thread
From: Thomas Zehetbauer @ 2004-10-29 14:49 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 631 bytes --]
Hi again,
I have now changed Kconfig and successfully compiled, loaded and used
DRI with a Matrox Millenium G550 on a dual Opteron system. I guess this
is a pretty good test and I wonder if the problem has already been fixed
or if it was limited to specific hard- or software.
Tom
--
T h o m a s Z e h e t b a u e r ( TZ251 )
PGP encrypted mail preferred - KeyID 96FFCB89
finger thomasz@hostmaster.org for key
Those, who are willing to give up essential liberty
for the sake of short-term security
deserve neither liberty nor security.
- Benjamin Franklin
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 481 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: status of DRM_MGA on x86_64
2004-10-29 14:49 ` Thomas Zehetbauer
@ 2004-10-29 19:47 ` Ian Romanick
2004-10-30 0:53 ` Thomas Zehetbauer
0 siblings, 1 reply; 11+ messages in thread
From: Ian Romanick @ 2004-10-29 19:47 UTC (permalink / raw)
To: Thomas Zehetbauer; +Cc: linux-kernel, DRI developer's list
Thomas Zehetbauer wrote:
> Hi again,
>
> I have now changed Kconfig and successfully compiled, loaded and used
> DRI with a Matrox Millenium G550 on a dual Opteron system. I guess this
> is a pretty good test and I wonder if the problem has already been fixed
> or if it was limited to specific hard- or software.
The problem, which exists with most (all?) DRM drivers, is that data
types are used in the kernel/user interface that have different sizes on
LP32 and LP64. If your kernel is 64-bit, you will have problems with
32-bit applications.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: status of DRM_MGA on x86_64
2004-10-29 19:47 ` Ian Romanick
@ 2004-10-30 0:53 ` Thomas Zehetbauer
0 siblings, 0 replies; 11+ messages in thread
From: Thomas Zehetbauer @ 2004-10-30 0:53 UTC (permalink / raw)
To: Ian Romanick; +Cc: linux-kernel, DRI developer's list
[-- Attachment #1: Type: text/plain, Size: 876 bytes --]
On Fre, 2004-10-29 at 12:47 -0700, Ian Romanick wrote:
> The problem, which exists with most (all?) DRM drivers, is that data
> types are used in the kernel/user interface that have different sizes on
> LP32 and LP64. If your kernel is 64-bit, you will have problems with
> 32-bit applications.
Then either all or no DRM drivers should be enabled on x86_64, the
DRM_TDFX, DRM_R128, DRM_RADEON and DRM_SIS are not currently disabled. I
vote for enabling all drivers that work with 64-bit applications.
I wonder if this should be the first and only place where different
kernel/userland bitness causes problems. How has this been solved
elsewhere?
Tom
--
T h o m a s Z e h e t b a u e r ( TZ251 )
PGP encrypted mail preferred - KeyID 96FFCB89
finger thomasz@hostmaster.org for key
Chemists don't die, they just stop to react.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 481 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2004-11-01 13:59 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[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 ` status of DRM_MGA on x86_64 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
[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
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox