diff options
author | Dave Airlie <airlied@redhat.com> | 2009-01-23 07:34:45 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-01-23 08:03:03 +1000 |
commit | 9780127449c6b32cc16ee1a1589c1e28eae1d7bb (patch) | |
tree | 5295d518d99a890f4b4799c764a033e5b75f7446 | |
parent | 8b56a86385f3411f0d1ba64423f32bff6c60416d (diff) |
radeon: remove some debugging
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_state_init.c | 7 | ||||
-rw-r--r-- | src/mesa/drivers/dri/radeon/common_cmdbuf.h | 2 | ||||
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_cs_legacy.c | 2 |
3 files changed, 1 insertions, 10 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_state_init.c b/src/mesa/drivers/dri/r200/r200_state_init.c index 26d89432bf..864fe344b2 100644 --- a/src/mesa/drivers/dri/r200/r200_state_init.c +++ b/src/mesa/drivers/dri/r200/r200_state_init.c @@ -363,15 +363,8 @@ static void tex_emit(GLcontext *ctx, struct radeon_state_atom *atom) radeonTexObj *t = r200->state.texture.unit[i].texobj; BEGIN_BATCH_NO_AUTOSTATE(dwords); - fprintf(stderr,"atom state is %x, %x %x %x %x %x\n", atom->cmd[0], - atom->cmd[1], - atom->cmd[2], - atom->cmd[3], - atom->cmd[4], - atom->cmd[5]); OUT_BATCH_TABLE(atom->cmd, 10); if (t && !t->image_override) { - fprintf(stderr,"emitting reloc for %d\n", i); OUT_BATCH_RELOC(t->tile_bits, t->mt->bo, 0, RADEON_GEM_DOMAIN_VRAM, 0, 0); } else if (!t) { diff --git a/src/mesa/drivers/dri/radeon/common_cmdbuf.h b/src/mesa/drivers/dri/radeon/common_cmdbuf.h index d6fa50a029..e5d524f104 100644 --- a/src/mesa/drivers/dri/radeon/common_cmdbuf.h +++ b/src/mesa/drivers/dri/radeon/common_cmdbuf.h @@ -50,7 +50,7 @@ void rcommonBeginBatch(radeonContextPtr rmesa, */ #define OUT_BATCH_RELOC(data, bo, offset, rd, wd, flags) \ do { \ - if (offset) {\ + if (0 && offset) {\ fprintf(stderr, "(%s:%s:%d) offset : %d\n",\ __FILE__, __FUNCTION__, __LINE__, offset);\ }\ diff --git a/src/mesa/drivers/dri/radeon/radeon_cs_legacy.c b/src/mesa/drivers/dri/radeon/radeon_cs_legacy.c index f542ee041f..714d262812 100644 --- a/src/mesa/drivers/dri/radeon/radeon_cs_legacy.c +++ b/src/mesa/drivers/dri/radeon/radeon_cs_legacy.c @@ -234,8 +234,6 @@ static int cs_process_relocs(struct radeon_cs *cs) relocs[i].base.bo, soffset, eoffset); return r; } - fprintf(stderr, "validated %p [0x%08X, 0x%08X]\n", - relocs[i].base.bo, soffset, eoffset); cs->packets[relocs[i].indices[j]] += soffset; if (cs->packets[relocs[i].indices[j]] >= eoffset) { radeon_bo_debug(relocs[i].base.bo, 12); |