From d99211b22c0b419e2ad414f2e09bfe43f656db4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Almeida?= Date: Wed, 19 Apr 2023 12:11:01 -0300 Subject: [PATCH] radv: debug: Update decode ring umr command MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The old ring decoder command is deprecated since umr release 1.0.4 and was effectively removed at 1.0.7. Update the command to use the new decode flag. Signed-off-by: André Almeida Reviewed-by: Samuel Pitoiset Reviewed-by: Tatsuyuki Ishi Part-of: --- src/amd/vulkan/radv_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/vulkan/radv_debug.c b/src/amd/vulkan/radv_debug.c index a956ab5574e..4a26d7548a6 100644 --- a/src/amd/vulkan/radv_debug.c +++ b/src/amd/vulkan/radv_debug.c @@ -664,7 +664,7 @@ radv_dump_umr_ring(struct radv_queue *queue, FILE *f) if (ring != AMD_IP_GFX) return; - sprintf(cmd, "umr -R %s 2>&1", + sprintf(cmd, "umr -RS %s 2>&1", device->physical_device->rad_info.gfx_level >= GFX10 ? "gfx_0.0.0" : "gfx"); fprintf(f, "\nUMR GFX ring:\n\n");