From: Samuel Pitoiset Date: Tue, 15 Oct 2019 13:10:27 +0000 (+0200) Subject: radv: print which ring is dumped in hang reports X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bc2319deb2845c414247e6bdcd9d6c27745c2a4e;p=mesa.git radv: print which ring is dumped in hang reports Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- 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: