summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>2017-01-03 18:41:13 +0100
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>2017-01-04 10:14:22 +0100
commit7d48a84b16b6f1e60dae921fc17fe4d1e55701d0 (patch)
treec7f4a601669d9f8458d935cd1ead78925ce2cafb /src
parent0f991e843470ff14c82927b3e90a72b8cd4c74f2 (diff)
radeonsi: capitalize VM hex addr when dumping buffer list
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>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/radeonsi/si_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_debug.c b/src/gallium/drivers/radeonsi/si_debug.c
index 1090dda4d46..ef92790ad55 100644
--- a/src/gallium/drivers/radeonsi/si_debug.c
+++ b/src/gallium/drivers/radeonsi/si_debug.c
@@ -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. */