From 838af10b85ee8c085c6d2c4fbe18fd90b2be9d3f Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 12 Dec 2006 13:45:41 -0800 Subject: Move PrintErrorState and CheckInheritedErrors code to i830_debug.c. --- src/i830_accel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/i830_accel.c') 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) { -- cgit v1.2.3