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@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17183>
This commit is contained in:
Samuel Pitoiset
2022-06-22 10:34:01 +02:00
committed by Marge Bot
parent 915bc6a179
commit 4c908d4587

View File

@@ -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");