summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_debug.c
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2018-06-29 00:08:26 +0200
committerNicolai Hähnle <[email protected]>2018-12-19 12:01:32 +0100
commit23af72af25b26e290a903611e1aa5b5d1cb10b40 (patch)
tree15d4bc33a82fa7c05ddd895cb5871594d42d25dc /src/amd/common/ac_debug.c
parentf18b2ac0db4fe3cd3a49d04c70869e81040291ff (diff)
radeonsi/gfx9: use SET_UCONFIG_REG_INDEX packets when available
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/amd/common/ac_debug.c')
-rw-r--r--src/amd/common/ac_debug.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amd/common/ac_debug.c b/src/amd/common/ac_debug.c
index 3b15398a2a2..e5463b66616 100644
--- a/src/amd/common/ac_debug.c
+++ b/src/amd/common/ac_debug.c
@@ -233,6 +233,7 @@ static void ac_parse_packet3(FILE *f, uint32_t header, struct ac_ib_parser *ib,
if (op == PKT3_SET_CONTEXT_REG ||
op == PKT3_SET_CONFIG_REG ||
op == PKT3_SET_UCONFIG_REG ||
+ op == PKT3_SET_UCONFIG_REG_INDEX ||
op == PKT3_SET_SH_REG)
fprintf(f, COLOR_CYAN "%s%s" COLOR_CYAN ":\n",
name, predicate);
@@ -252,6 +253,7 @@ static void ac_parse_packet3(FILE *f, uint32_t header, struct ac_ib_parser *ib,
ac_parse_set_reg_packet(f, count, SI_CONFIG_REG_OFFSET, ib);
break;
case PKT3_SET_UCONFIG_REG:
+ case PKT3_SET_UCONFIG_REG_INDEX:
ac_parse_set_reg_packet(f, count, CIK_UCONFIG_REG_OFFSET, ib);
break;
case PKT3_SET_SH_REG: