radeonsi: capitalize VM hex addr when dumping buffer list
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 3 Jan 2017 17:41:13 +0000 (18:41 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 4 Jan 2017 09:14:22 +0000 (10:14 +0100)
Useful when debugging with R600_DEBUG=vm,check_vm to match
addr in both outputs.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_debug.c

index 1090dda4d46e18379930ab66c36cb645191c87cb..ef92790ad55983bd8e7d4ec02a1d4e8ae65776c5 100644 (file)
@@ -633,7 +633,7 @@ static void si_dump_bo_list(struct si_context *sctx,
                }
 
                /* Print the buffer. */
-               fprintf(f, "  %10"PRIu64"    0x%013"PRIx64"       0x%013"PRIx64"       ",
+               fprintf(f, "  %10"PRIu64"    0x%013"PRIX64"       0x%013"PRIX64"       ",
                        size / page_size, va / page_size, (va + size) / page_size);
 
                /* Print the usage. */