Module: Mesa Branch: master Commit: 7abd94c9b0e3cde383c03cb0b7fa254575ac88e2 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7abd94c9b0e3cde383c03cb0b7fa254575ac88e2
Author: Marek Olšák <marek.ol...@amd.com> Date: Wed Nov 23 22:55:20 2016 +0100 radeonsi: print unknown registers with correct formatting Reviewed-by: Nicolai Hähnle <nicolai.haeh...@amd.com> --- src/gallium/drivers/radeonsi/si_debug.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeonsi/si_debug.c b/src/gallium/drivers/radeonsi/si_debug.c index 3de7c71..26763a8 100644 --- a/src/gallium/drivers/radeonsi/si_debug.c +++ b/src/gallium/drivers/radeonsi/si_debug.c @@ -233,7 +233,8 @@ static void si_dump_reg(FILE *file, unsigned offset, uint32_t value, } } - fprintf(file, COLOR_YELLOW "0x%05x" COLOR_RESET " = 0x%08x", offset, value); + print_spaces(file, INDENT_PKT); + fprintf(file, COLOR_YELLOW "0x%05x" COLOR_RESET " <- 0x%08x\n", offset, value); } static void si_parse_set_reg_packet(FILE *f, uint32_t *ib, unsigned count, _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit