From: Dave Airlie Date: Thu, 22 Jan 2009 21:34:45 +0000 (+1000) Subject: radeon: remove some debugging X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9780127449c6b32cc16ee1a1589c1e28eae1d7bb;p=mesa.git radeon: remove some debugging --- diff --git a/src/mesa/drivers/dri/r200/r200_state_init.c b/src/mesa/drivers/dri/r200/r200_state_init.c index 26d89432bf0..864fe344b27 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 d6fa50a0290..e5d524f104a 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 f542ee041f8..714d2628124 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);