X Strike Force XFree86 SVN commit: r1086 - in trunk/debian: . patches
Author: branden
Date: 2004-02-20 16:36:12 -0500 (Fri, 20 Feb 2004)
New Revision: 1086
Added:
trunk/debian/patches/000_stolen_from_Mesa_CVS.diff
Modified:
trunk/debian/changelog
Log:
Fix bug in x86 CPU detection code from Mesa 5.1 that prevented 3D hardware
acceleration from working (patch from Mesa CVS, courtesy of Aurelien
Jarno). (Closes: #229984)
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2004-02-20 17:17:19 UTC (rev 1085)
+++ trunk/debian/changelog 2004-02-20 21:36:12 UTC (rev 1086)
@@ -60,8 +60,13 @@
sunffb driver.
- debian/patches/073_sunffb_xaa_render_fb_support.diff
- -- Branden Robinson <branden@debian.org> Fri, 20 Feb 2004 12:14:42 -0500
+ * Fix bug in x86 CPU detection code from Mesa 5.1 that prevented 3D hardware
+ acceleration from working (patch from Mesa CVS, courtesy of Aurelien
+ Jarno). (Closes: #229984)
+ - debian/patches/000_stolen_from_Mesa_CVS.diff
+ -- Branden Robinson <branden@debian.org> Fri, 20 Feb 2004 16:34:20 -0500
+
xfree86 (4.3.0-2) unstable; urgency=low
* The "It's like I have a shotgun in my mouth, I've got my finger on the
Added: trunk/debian/patches/000_stolen_from_Mesa_CVS.diff
===================================================================
--- trunk/debian/patches/000_stolen_from_Mesa_CVS.diff 2004-02-20 17:17:19 UTC (rev 1085)
+++ trunk/debian/patches/000_stolen_from_Mesa_CVS.diff 2004-02-20 21:36:12 UTC (rev 1086)
@@ -0,0 +1,27 @@
+$Id$
+
+Fix undefined symbol sse_test_dummy.
+
+This makes the code grabbed from Mesa 5.1 actually work; see Debian
+#229984.
+
+Thanks to Aurelien Jarno for submitting this patch.
+
+diff -u xc/extras/Mesa/src/X86/common_x86_asm.S:1.16 xc/extras/Mesa/src/X86/common_x86_asm.S:1.17
+--- xc/extras/Mesa/src/X86/common_x86_asm.S:1.16 Mon Dec 16 11:18:33 2002
++++ xc/extras/Mesa/src/X86/common_x86_asm.S Sun Sep 28 15:17:08 2003
+@@ -182,7 +182,13 @@
+ LDMXCSR ( REGOFF( -8, EBP ) )
+
+ XORPS ( XMM0, XMM0 )
+- MOVUPS ( CONTENT( GLNAME( sse_test_dummy ) ), XMM1 )
++
++ PUSH_L ( CONST( 0x3f800000 ) )
++ PUSH_L ( CONST( 0x3f800000 ) )
++ PUSH_L ( CONST( 0x3f800000 ) )
++ PUSH_L ( CONST( 0x3f800000 ) )
++
++ MOVUPS ( REGIND( ESP ), XMM1 )
+
+ DIVPS ( XMM0, XMM1 )
+
Property changes on: trunk/debian/patches/000_stolen_from_Mesa_CVS.diff
___________________________________________________________________
Name: svn:keywords
+ Id
Reply to: