[SWDEV-484382] Added new command amd-smi static --clock

Signed-off-by: gabrpham <Gabriel.Pham@amd.com>
Change-Id: I49e1aa2e699734d81c40c76c62da1cecc5bd3c0e
This commit is contained in:
gabrpham
2024-12-04 00:10:32 -06:00
committed by Gabriel Pham
parent aed7749a2c
commit bc16e1a5da
4 changed files with 146 additions and 8 deletions
+32
View File
@@ -158,6 +158,8 @@ Static Arguments:
-B, --board All board information
-R, --process-isolation The process isolation status
-r, --ras Displays RAS features information
-C, --clock [CLOCK ...] Show one or more valid clock frequency levels. Available options:
SYS, DF, DCEF, SOC, MEM, VCLK0, VCLK1, DCLK0, DCLK1, ALL
-p, --partition Partition information
-l, --limit All limit metric values (i.e. power and thermal limits)
-P, --policy The available DPM policy
@@ -855,5 +857,35 @@ GPU: 0
CACHE_LEVEL: 3
MAX_NUM_CU_SHARED: 228
NUM_CACHE_INSTANCE: 1
CLOCK:
SYS:
CURRENT LEVEL: 2
FREQUENCY_LEVELS:
0: 300 MHz
1: 904 MHz
2: 1165 MHz
3: 1360 MHz
4: 1440 MHz
5: 1544 MHz
6: 1627 MHz
7: 1720 MHz
8: 1800 MHz
DF:
CURRENT LEVEL: 0
FREQUENCY_LEVELS:
0: 1400 MHz
DCEF: N/A
SOC:
CURRENT LEVEL: 0
FREQUENCY_LEVELS:
0: 302 MHz
MEM:
CURRENT LEVEL: 0
FREQUENCY_LEVELS:
0: 167 MHz
VCLK0: N/A
VCLK1: N/A
DCLK1: N/A
DCLK0: N/A
...
```