[Mesa-dev] [PATCH 4/7] radeonsi: print the IB and buffer list in VM fault reports

Marek Olšák maraeo at gmail.com
Mon Sep 12 22:44:40 UTC 2016


From: Marek Olšák <marek.olsak at amd.com>

This is a fallout from reworking the debug flags.
---
 src/gallium/drivers/radeonsi/si_debug.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/gallium/drivers/radeonsi/si_debug.c b/src/gallium/drivers/radeonsi/si_debug.c
index 8ce9caf..75ab0e7 100644
--- a/src/gallium/drivers/radeonsi/si_debug.c
+++ b/src/gallium/drivers/radeonsi/si_debug.c
@@ -822,21 +822,22 @@ void si_check_vm_faults(struct r600_common_context *ctx,
 	fprintf(f, "Failing VM page: 0x%08x\n\n", addr);
 
 	if (sctx->apitrace_call_number)
 		fprintf(f, "Last apitrace call: %u\n\n",
 			sctx->apitrace_call_number);
 
 	switch (ring) {
 	case RING_GFX:
 		si_dump_debug_state(&sctx->b.b, f,
 				    PIPE_DUMP_CURRENT_STATES |
-				    PIPE_DUMP_CURRENT_SHADERS);
+				    PIPE_DUMP_CURRENT_SHADERS |
+				    PIPE_DUMP_LAST_COMMAND_BUFFER);
 		break;
 
 	case RING_DMA:
 		si_dump_dma(sctx, saved, f);
 		break;
 
 	default:
 		break;
 	}
 
-- 
2.7.4



More information about the mesa-dev mailing list