Patch for tdfx driver

Joseph Parmelee jparmele at
Fri Aug 11 14:20:36 PDT 2006

Hello again:

Attached is a little patch against xf86-video-tdfx-X11R7.1-1.2.1.

It fixes a late binding crash due to the undefined symbol getsecs.
I observe this on the latest released xorg running on a linux system with Voodoo3 3000 video card.  The principal
symptom is that X crashes without restoring the hardware when a
large window is redrawn during/after a window move, but it appears
in other contexts where windows are redrawn also.  The underlying
system is still functioning, but must be rebooted to restore
console keyboard, mouse, and monitor.  Remote telnet sessions and
other system activity not dependent on X are not affected.

Finding this was made difficult by other more serious problems in
the libXfont module which I will soon address in another thread.


-------------- next part --------------
--- src/tdfx_priv.c.orig	2006-04-07 15:37:49.000000000 -0600
+++ src/tdfx_priv.c	2006-08-11 12:50:10.000000000 -0600
@@ -10,6 +10,9 @@
 #include "compiler.h"
 #include "tdfx.h"
+extern void xf86getsecs(long *, long *);
+#define getsecs(a, b)           xf86getsecs(a, b)
   Memory layout of card is as follows:

More information about the xorg mailing list