From 662db03577377cd0acca279ca482ea8e9a4e1704 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Tue, 28 Aug 2018 14:59:25 -0400 Subject: [PATCH] radeonsi: fix printing a BO list into ddebug reports MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit important for debugging Cc: 18.1 18.2 Tested-by: Dieter Nützel --- src/gallium/drivers/radeonsi/si_gfx_cs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeonsi/si_gfx_cs.c b/src/gallium/drivers/radeonsi/si_gfx_cs.c index c39564ecbe5..38b85ce6243 100644 --- a/src/gallium/drivers/radeonsi/si_gfx_cs.c +++ b/src/gallium/drivers/radeonsi/si_gfx_cs.c @@ -133,12 +133,13 @@ void si_flush_gfx_cs(struct si_context *ctx, unsigned flags, if (ctx->current_saved_cs) { si_trace_emit(ctx); - si_log_hw_flush(ctx); /* Save the IB for debug contexts. */ si_save_cs(ws, cs, &ctx->current_saved_cs->gfx, true); ctx->current_saved_cs->flushed = true; ctx->current_saved_cs->time_flush = os_time_get_nano(); + + si_log_hw_flush(ctx); } /* Flush the CS. */ -- 2.30.2