DRM updates

Craig Dooley craig at xlnx-x.net
Wed Jan 14 04:44:45 PST 2004


What is the desired way to do this?  Should I do something like
#if __DragonFly__
. ..
#elif __FreeBSD__
#if __FreeBSD_version >= 500000
. ..
#else
. ..

If I put the dragonfly check in the FreeBSD 4.x section it will just have
to be moved when we take it out of the compiler.  Does the above seem like a
reasonable solution?

-Craig


On Tue, Jan 13, 2004 at 01:17:45PM -0800, Matthew Dillon wrote:
> 
> :This is a first patch to start bringing drm in from recent cvs.  This patch
> :enables MTRR support, and changes a few structures to get us closer.  It
> :doesnt do much, but just turning on MTRR support got me an extra 30 fps in
> :glxgears (850 -> 880).
> :
> :-Craig
> :-- 
> :------------------------------------------------------------------------
> :Craig Dooley                                            craig at xxxxxxxxxx
> :------------------------------------------------------------------------
> 
>     Great work Craig!  Could you redo the __FreeBSD_version checks?  We 
>     have a __DragonFly__ predef now which can be used to test for 
>     DragonFly builds.  Eventually we are going to remove the __FreeBSD__
>     and __FreeBSD_version predefs.
> 
> 						-Matt

-- 
------------------------------------------------------------------------
Craig Dooley                                            craig at xxxxxxxxxx
------------------------------------------------------------------------





More information about the Submit mailing list