radv: print which ring is dumped in hang reports
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 15 Oct 2019 13:10:27 +0000 (15:10 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 21 Oct 2019 06:50:39 +0000 (08:50 +0200)
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_debug.c

index 5bba93ac805477986107090cfcba4a40a491994d..9ab7c8638e9190c34c14f3fc5c0b94c1c9527929 100644 (file)
@@ -619,10 +619,12 @@ radv_check_gpu_hangs(struct radv_queue *queue, struct radeon_cmdbuf *cs)
 
        switch (ring) {
        case RING_GFX:
+               fprintf(stderr, "RING_GFX:\n");
                radv_dump_graphics_state(graphics_pipeline, compute_pipeline,
                                         stderr);
                break;
        case RING_COMPUTE:
+               fprintf(stderr, "RING_COMPUTE:\n");
                radv_dump_compute_state(compute_pipeline, stderr);
                break;
        default: