Mesa (radeon-rewrite): radeon: add more debug info to the flush debug
Dave Airlie
airlied at kemper.freedesktop.org
Mon Feb 23 04:08:01 UTC 2009
Module: Mesa
Branch: radeon-rewrite
Commit: f4502f0f8c065f28c257b7be67021d3920e51a99
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f4502f0f8c065f28c257b7be67021d3920e51a99
Author: Dave Airlie <airlied at redhat.com>
Date: Mon Feb 23 13:49:29 2009 +1000
radeon: add more debug info to the flush debug
---
src/mesa/drivers/dri/radeon/radeon_common.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mesa/drivers/dri/radeon/radeon_common.c b/src/mesa/drivers/dri/radeon/radeon_common.c
index 3c491d5..f7c0d7d 100644
--- a/src/mesa/drivers/dri/radeon/radeon_common.c
+++ b/src/mesa/drivers/dri/radeon/radeon_common.c
@@ -663,7 +663,7 @@ void radeonFlush(GLcontext *ctx)
{
radeonContextPtr radeon = RADEON_CONTEXT(ctx);
if (RADEON_DEBUG & DEBUG_IOCTL)
- fprintf(stderr, "%s\n", __FUNCTION__);
+ fprintf(stderr, "%s %d\n", __FUNCTION__, radeon->cmdbuf.cs->cdw);
if (radeon->dma.flush)
radeon->dma.flush( ctx );
More information about the mesa-commit
mailing list