[Bug 12443] IBM T43p: xorg 7.3 + Mesa 7.0.1 + ati-6.[67]-branch freeze/reboot

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Sep 16 13:32:45 PDT 2007


http://bugs.freedesktop.org/show_bug.cgi?id=12443





------- Comment #5 from igor at hybrid-lab.co.uk  2007-09-16 13:33 PST -------
added a fail-safe patch, at least can keep the Xlog and reboot sanely:

--- src/driver/xf86-video-ati-6.7.192/src/radeon_accel.c.orig   2007-08-07
05:15:31.000000000 +0100
+++ src/driver/xf86-video-ati-6.7.192/src/radeon_accel.c        2007-09-16
21:20:52.000000000 +0100
@@ -75,6 +75,7 @@

 #include <errno.h>
 #include <string.h>
+#include <stdlib.h>
                                /* Driver data structures */
 #include "radeon.h"
 #include "radeon_reg.h"
@@ -493,6 +494,7 @@
     int            size = 0;
     int            i = 0;
     int            ret;
+    int            rst_count = 0;

 #if 0
     /* FIXME: pScrn->pScreen has not been initialized when this is first
@@ -536,6 +538,11 @@
            return buf;
        }

+       if (rst_count++ > 5) {
+               xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
+                          "Too many resets, aborting...\n");
+               abort();
+       }
        xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
                   "GetBuffer timed out, resetting engine...\n");
        RADEONEngineReset(pScrn);


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the xorg-driver-ati mailing list