From 7172906c0c5943141cbf23bc15de0aba8e565dae Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Thu, 18 Aug 2016 15:24:41 +0200 Subject: [PATCH] radeonsi: fix printing shaders and states on a VM fault This was missed while rewriting the PIPE_DUMP flags. Reviewed-by: Bas Nieuwenhuizen --- src/gallium/drivers/radeonsi/si_debug.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeonsi/si_debug.c b/src/gallium/drivers/radeonsi/si_debug.c index 7e75d3ff99b..8ce9cafb4f6 100644 --- a/src/gallium/drivers/radeonsi/si_debug.c +++ b/src/gallium/drivers/radeonsi/si_debug.c @@ -827,7 +827,9 @@ void si_check_vm_faults(struct r600_common_context *ctx, switch (ring) { case RING_GFX: - si_dump_debug_state(&sctx->b.b, f, 0); + si_dump_debug_state(&sctx->b.b, f, + PIPE_DUMP_CURRENT_STATES | + PIPE_DUMP_CURRENT_SHADERS); break; case RING_DMA: -- 2.30.2