radeonsi: print the IB and buffer list in VM fault reports
authorMarek Olšák <marek.olsak@amd.com>
Mon, 12 Sep 2016 18:23:55 +0000 (20:23 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 13 Sep 2016 18:38:25 +0000 (20:38 +0200)
This is a fallout from reworking the debug flags.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_debug.c

index 8ce9cafb4f6930e52183db00256755e690b3debb..75ab0e788386d3195508eda56b9c522cd00e0ef1 100644 (file)
@@ -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: