Add perf determinism to perf_level_string
This fixes the 'unknown' value being displayed
for Perf Level because of a missing mapping of
RSMI_DEV_PERF_LEVEL_DETERMINISM to its string
value.
Signed-off-by: Divya Shikre <DivyaUday.Shikre@amd.com>
Change-Id: I479c2baea450f0ff61640ad81cbd4d08ad56ff8e
[ROCm/amdsmi commit: 8144dd4d8e]
This commit is contained in:
committed by
Divya Uday Shikre
parent
b7f6850450
commit
4d175f7726
@@ -153,6 +153,7 @@ def perf_level_string(i):
|
||||
5: 'STABLE_PEAK',
|
||||
6: 'STABLE_MIN_MCLK',
|
||||
7: 'STABLE_MIN_SCLK',
|
||||
8: 'PERF_DETERMINISM',
|
||||
}
|
||||
return switcher.get(i, 'UNKNOWN')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user