Mesa (main): radv: fix command line for dumping waves with UMR

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jun 27 08:59:59 UTC 2022


Module: Mesa
Branch: main
Commit: 4c908d4587c32db0f2076ea1f15957835bbc1812
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4c908d4587c32db0f2076ea1f15957835bbc1812

Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Wed Jun 22 10:34:01 2022 +0200

radv: fix command line for dumping waves with UMR

GFXOFF must be disabled before dumping waves and re-enabled after.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17183>

---

 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 cf44269314b..138dad6f94d 100644
--- a/src/amd/vulkan/radv_debug.c
+++ b/src/amd/vulkan/radv_debug.c
@@ -663,7 +663,7 @@ radv_dump_umr_waves(struct radv_queue *queue, FILE *f)
    if (ring != AMD_IP_GFX)
       return;
 
-   sprintf(cmd, "umr -O bits,halt_waves -wa %s 2>&1",
+   sprintf(cmd, "umr -O bits,halt_waves -go 0 -wa %s -go 1 2>&1",
            device->physical_device->rad_info.gfx_level >= GFX10 ? "gfx_0.0.0" : "gfx");
 
    fprintf(f, "\nUMR GFX waves:\n\n");



More information about the mesa-commit mailing list