summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_debug.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-09-12 20:23:55 +0200
committerMarek Olšák <[email protected]>2016-09-13 20:38:25 +0200
commit84860dd0bb08b0f5100ab99dca2e1dfe7455a841 (patch)
tree2824e8b31fabe7cd75d93d80173e1290fc1afff5 /src/gallium/drivers/radeonsi/si_debug.c
parentfd69fa65a8fc2d3cd2a99ee7519a7e8eb18228c7 (diff)
radeonsi: print the IB and buffer list in VM fault reports
This is a fallout from reworking the debug flags. Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_debug.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_debug.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_debug.c b/src/gallium/drivers/radeonsi/si_debug.c
index 8ce9cafb4f6..75ab0e78838 100644
--- a/src/gallium/drivers/radeonsi/si_debug.c
+++ b/src/gallium/drivers/radeonsi/si_debug.c
@@ -829,7 +829,8 @@ void si_check_vm_faults(struct r600_common_context *ctx,
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: