Subject: Re: DRI [was: Re: more summer of code fun]
To: Hubert Feyrer <hubert@feyrer.de>
From: Eric Anholt <eta@lclark.edu>
List: tech-kern
Date: 06/05/2005 23:52:44
On Sun, 2005-06-05 at 22:02 +0200, Hubert Feyrer wrote:
> [added tech-x11 to CC: as it's probably more appopriate than tech-kern]
>
> On Sun, 5 Jun 2005, Tonnerre wrote:
> >> 2) DRI support.
> > Too late: http://users.thundrix.ch/~tonnerre/kernel/netbsd/directrendering.html
>
> What are the chances to port this over to the XFree that NetBSD uses for
> xsrc?
>
>
> - Hubert
AFAIK you just need to turn DRI on in your X build. That's all you need
to do in the X realm. Just don't build the outdated kernel modules
shipped with the XFree86 tree (well, I don't know if they still ship
them).
It would be nice if we could get Tonnerre's patch updated for current
DRM CVS, which is the upstream of FreeBSD and Linux's DRM. I went
through the last diff I saw from him and put a few more bits in CVS, but
there was a lot of debugging stuff left in, and it was against FreeBSD
CVS which was outdated. It looks like the remaining piece than needs to
be done is the device attachment. Basically, the issue is getting the
LKM module loading to have the right pciidlist. I'm thinking the
easiest would be to return to templating for the NetBSD (and perhaps
FreeBSD) *_drv.c bits and then have the lkmhandle and friends in the
template.
I definitely don't have time to work on NetBSD myself, but I'd love to
see NetBSD catch up to current CVS. It's certainly resulted in
improvements to our code already :)
--
Eric Anholt eta@lclark.edu
http://people.freebsd.org/~anholt/ anholt@FreeBSD.org