summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-08-28 14:59:25 -0400
committerMarek Olšák <[email protected]>2018-09-10 15:19:56 -0400
commit662db03577377cd0acca279ca482ea8e9a4e1704 (patch)
treec24323b38dd3e91bbc336536f067ec3e065908b2
parentda72b6296cfa5c5fa92d840d8a69c55df19d13f5 (diff)
radeonsi: fix printing a BO list into ddebug reports
important for debugging Cc: 18.1 18.2 <[email protected]> Tested-by: Dieter Nützel <[email protected]>
-rw-r--r--src/gallium/drivers/radeonsi/si_gfx_cs.c3
1 files changed, 2 insertions, 1 deletions
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. */