The kernel DRM has fixes for this I just haven't ported them back to CVS yet...
Dave. On Sat, 18 Feb 2006, Felix Kühling wrote: > Hi, > > does anyone object to applying this patch to linux-core/drmP.h: > > --- drmP.h 2 Jan 2006 05:54:10 -0000 1.172 > +++ drmP.h 18 Feb 2006 18:46:54 -0000 > @@ -780,6 +780,20 @@ > > #else > #define drm_core_has_MTRR(dev) (0) > + > +static inline int drm_mtrr_add(unsigned long offset, unsigned long size, > + unsigned int flags) > +{ > + return -ENODEV; > +} > + > +static inline int drm_mtrr_del(int handle, unsigned long offset, > + unsigned long size, unsigned int flags) > +{ > + return -ENODEV; > +} > + > +#define DRM_MTRR_WC 1 > #endif > > /******************************************************************/ > > This fixes the build of savage_bci.c when __OS_HAS_MTRR is false. See > also: https://bugs.freedesktop.org/show_bug.cgi?id=5942 > > Regards, > Felix > > -- David Airlie, Software Engineer http://www.skynet.ie/~airlied / airlied at skynet.ie Linux kernel - DRI, VAX / pam_smb / ILUG ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel