summaryrefslogtreecommitdiff
path: root/src/i830_accel.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2006-12-12 13:45:41 -0800
committerEric Anholt <eric@anholt.net>2006-12-12 14:55:10 -0800
commit838af10b85ee8c085c6d2c4fbe18fd90b2be9d3f (patch)
tree5d20a313d6b0beb61e8f7b28f29c3f1bf881a335 /src/i830_accel.c
parent668ae6ce3c3c4b93a58749fd44ef32451adb6f9c (diff)
Move PrintErrorState and CheckInheritedErrors code to i830_debug.c.
Diffstat (limited to 'src/i830_accel.c')
-rw-r--r--src/i830_accel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/i830_accel.c b/src/i830_accel.c
index 6ad62d1f..2260b71b 100644
--- a/src/i830_accel.c
+++ b/src/i830_accel.c
@@ -58,6 +58,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "xaarop.h"
#include "i830.h"
#include "i810_reg.h"
+#include "i830_debug.h"
int
I830WaitLpRing(ScrnInfoPtr pScrn, int n, int timeout_millis)
@@ -99,7 +100,7 @@ I830WaitLpRing(ScrnInfoPtr pScrn, int n, int timeout_millis)
} else if (now - start > timeout_millis) {
ErrorF("Error in I830WaitLpRing(), now is %d, start is %d\n", now,
start);
- I830PrintErrorState(pScrn);
+ i830_dump_error_state(pScrn);
ErrorF("space: %d wanted %d\n", ring->space, n);
#ifdef XF86DRI
if (pI830->directRenderingEnabled) {