radeonsi: fix printing shaders and states on a VM fault
authorMarek Olšák <marek.olsak@amd.com>
Thu, 18 Aug 2016 13:24:41 +0000 (15:24 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 26 Aug 2016 13:50:10 +0000 (15:50 +0200)
This was missed while rewriting the PIPE_DUMP flags.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/gallium/drivers/radeonsi/si_debug.c

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