Subject: Re: DRI [was: Re: more summer of code fun]
To: Hubert Feyrer <>
From: Eric Anholt <>
List: tech-x11
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:
> 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

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

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