projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70fd27d
)
amd/common/gfx10: print gfx10 registers in debug dumps
author
Nicolai Hähnle
<nicolai.haehnle@amd.com>
Fri, 24 May 2019 12:34:45 +0000
(14:34 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Wed, 3 Jul 2019 19:51:12 +0000
(15:51 -0400)
Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/common/ac_debug.c
patch
|
blob
|
history
diff --git
a/src/amd/common/ac_debug.c
b/src/amd/common/ac_debug.c
index cd37b6f4da91c2dfc98d9fc1ac10a57fdc2ccdf7..e4cb6a13a3ac48bdaba21591ac30d2fe66839ae6 100644
(file)
--- a/
src/amd/common/ac_debug.c
+++ b/
src/amd/common/ac_debug.c
@@
-118,7
+118,9
@@
void ac_dump_reg(FILE *file, enum chip_class chip_class, unsigned offset,
{
const struct si_reg *reg = NULL;
- if (chip_class >= GFX9)
+ if (chip_class >= GFX10)
+ reg = find_register(gfx10_reg_table, ARRAY_SIZE(gfx10_reg_table), offset);
+ else if (chip_class >= GFX9)
reg = find_register(gfx9_reg_table, ARRAY_SIZE(gfx9_reg_table), offset);
else if (chip_class >= GFX8)
reg = find_register(gfx8_reg_table, ARRAY_SIZE(gfx8_reg_table), offset);