[Mesa-dev] [PATCH] radeonsi: capitalize VM hex addr when dumping buffer list

Marek Olšák maraeo at gmail.com
Tue Jan 3 19:49:41 UTC 2017


Reviewed-by: Marek Olšák <marek.olsak at amd.com>

Marek

On Tue, Jan 3, 2017 at 6:41 PM, Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
> Useful when debugging with R600_DEBUG=vm,check_vm to match
> addr in both outputs.
>
> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
> ---
>  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 1090dda4d4..ef92790ad5 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. */
> --
> 2.11.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list