From bc2319deb2845c414247e6bdcd9d6c27745c2a4e Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Tue, 15 Oct 2019 15:10:27 +0200 Subject: [PATCH] radv: print which ring is dumped in hang reports Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- src/amd/vulkan/radv_debug.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/amd/vulkan/radv_debug.c b/src/amd/vulkan/radv_debug.c index 5bba93ac805..9ab7c8638e9 100644 --- a/src/amd/vulkan/radv_debug.c +++ b/src/amd/vulkan/radv_debug.c @@ -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: -- 2.30.2