Re: status of DRM_MGA on x86_64

From: Andi Kleen
Date: Fri Oct 29 2004 - 21:08:30 EST


Thomas Zehetbauer <thomasz@xxxxxxxxxxxxxx> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/