From 1afe6f33212d9ae8aeffd9f2d464df85eb5facda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Fri, 10 Nov 2023 19:16:39 -0500 Subject: [PATCH] radeonsi: don't print the preamble state separately for GALLIUM_DDEBUG because it's always printed as part of command buffers. Reviewed-by: Pierre-Eric Pelloux-Prayer Part-of: --- src/gallium/drivers/radeonsi/si_debug.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_debug.c b/src/gallium/drivers/radeonsi/si_debug.c index 5e62ec1b0f0..a6a8c8902a2 100644 --- a/src/gallium/drivers/radeonsi/si_debug.c +++ b/src/gallium/drivers/radeonsi/si_debug.c @@ -392,12 +392,6 @@ static void si_log_chunk_type_cs_print(void *data, FILE *f) last_trace_id = map[0]; if (chunk->gfx_end != chunk->gfx_begin) { - if (chunk->gfx_begin == 0) { - if (ctx->cs_preamble_state) - ac_parse_ib(f, ctx->cs_preamble_state->pm4, ctx->cs_preamble_state->ndw, NULL, 0, - "IB2: Init config", ctx->gfx_level, ctx->family, AMD_IP_GFX, NULL, NULL); - } - if (scs->flushed) { ac_parse_ib(f, scs->gfx.ib + chunk->gfx_begin, chunk->gfx_end - chunk->gfx_begin, &last_trace_id, map ? 1 : 0, "IB", ctx->gfx_level, ctx->family, AMD_IP_GFX, NULL, NULL);