Module: Mesa
Branch: master
Commit: 7d48a84b16b6f1e60dae921fc17fe4d1e55701d0
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7d48a84b16b6f1e60dae921fc17fe4d1e55701d0

Author: Samuel Pitoiset <[email protected]>
Date:   Tue Jan  3 18:41:13 2017 +0100

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 <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>

---

 src/gallium/drivers/radeonsi/si_debug.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/radeonsi/si_debug.c 
b/src/gallium/drivers/radeonsi/si_debug.c
index 1090dda..ef92790 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. */

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to