savage can be add to DRIDrivers list

Sergio Monteiro Basto sergio at sergiomb.no-ip.org
Thu Sep 1 13:43:14 PDT 2005


Hi, 

I test savage DRI, it works ok.
We just need this patch and install drm kernel module. 
Finally, all can be compiled with the _same_ sources. 

 cd xc/extras/drm/linux-core/
 make -f Makefile savage.o
 cp drm.ko savage.ko /lib/modules/`uname -r`/kernel/drivers/char/drm
 depmod -a
 insmod savage.ko

--- xc/config/cf/xorg.cf.orig   2005-08-29 18:01:18.000000000 +0100
+++ xc/config/cf/xorg.cf        2005-09-01 04:49:34.000000000 +0100
@@ -425,7 +425,7 @@
    /* SiS is 64-bit unclean as of this writing. */
 #   define i386DRIDrivers /**/
 #  endif
-#  define DriDrivers           i386DRIDrivers mga r128 radeon r200 tdfx
+#  define DriDrivers           i386DRIDrivers mga r128 radeon r200 tdfx savage
 # endif
 #endif /* i386Architecture || ia64Architecture */

--- xc/programs/Xserver/hw/xfree86/drivers/savage/Imakefile.orig        2005-09-01 04:46:33.000000000 +0100
+++ xc/programs/Xserver/hw/xfree86/drivers/savage/Imakefile     2005-09-01 04:46:47.000000000 +0100
@@ -25,11 +25,6 @@
 #define IHaveModules
 #include <Server.tmpl>

-#if !BuildDevelDRIDrivers
-#undef BuildXF86DRI
-#define BuildXF86DRI NO
-#endif
-
 #if BuildXF86DRI
 DRISRCS = savage_dri.c savage_hwmc.c
 DRIOBJS = savage_dri.o savage_hwmc.o

 
Thanks,
-- 
Sérgio M.B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2166 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20050901/74463c86/attachment.bin>


More information about the xorg mailing list