projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e1dc10
)
radeonsi: print unknown registers with correct formatting
author
Marek Olšák
<marek.olsak@amd.com>
Wed, 23 Nov 2016 21:55:20 +0000
(22:55 +0100)
committer
Marek Olšák
<marek.olsak@amd.com>
Tue, 29 Nov 2016 22:52:31 +0000
(23:52 +0100)
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_debug.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_debug.c
b/src/gallium/drivers/radeonsi/si_debug.c
index 3de7c71e35f4ce0f6c0ccb16ed89552a206ce595..26763a873e0b259d7a56514afa528d70cae18165 100644
(file)
--- 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,