summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom St Denis <tom.stdenis@amd.com>2019-02-11 13:29:16 -0500
committerTom St Denis <tom.stdenis@amd.com>2019-02-11 13:29:16 -0500
commita4ddf619c12107937f60a9100ae9d251b8c12af1 (patch)
tree64474aaafcb9772afb256b64244cf3ad08ee0ee9
parent3651467e8882d4596469a0ae00cf12a8c47bad83 (diff)
print correct WAVE_STATUS bits for FAMILY_AI
Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
-rw-r--r--src/app/print_waves.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/app/print_waves.c b/src/app/print_waves.c
index dfce332..26463d6 100644
--- a/src/app/print_waves.c
+++ b/src/app/print_waves.c
@@ -156,9 +156,14 @@ void umr_print_waves(struct umr_asic *asic)
PP(wave_status, perf_en);
PP(wave_status, cond_dbg_user);
PP(wave_status, cond_dbg_sys);
- PP(wave_status, data_atc);
- PP(wave_status, inst_atc);
- PP(wave_status, dispatch_cache_ctrl);
+ if (asic->family < FAMILY_AI) {
+ PP(wave_status, data_atc);
+ PP(wave_status, inst_atc);
+ PP(wave_status, dispatch_cache_ctrl);
+ } else {
+ PP(wave_status, allow_replay);
+ PP(wave_status, fatal_halt);
+ }
PP(wave_status, must_export);
Hv("HW_ID", wd->ws.hw_id.value);