[SWDEV-533305] Remove partition info from amd-smi static (-p/--partition still available) + CLI API call cleanup (#529)
Updates: - Separate extra APIs calls from amd-smi CLI to target specific CLI commands that need them. - Remove extra current_compute_partition SYSFS calls from amd-smi static. - Remove the partition information from the default `amd-smi static` CLI command. - Users must now use the `-p` argument to view partition information with `amd-smi static`. - The help text for the `partition` argument has been updated to reflect this change. - The partition information can still be accessed using the `amd-smi partition -c -m` or `sudo amd-smi partition -a` commands. --------- Signed-off-by: Charis Poag <Charis.Poag@amd.com>
This commit is contained in:
@@ -96,7 +96,8 @@ if __name__ == "__main__":
|
||||
amd_smi_commands.xgmi,
|
||||
amd_smi_commands.partition,
|
||||
amd_smi_commands.ras,
|
||||
amd_smi_commands.default)
|
||||
amd_smi_commands.default,
|
||||
sys_argv=sys.argv)
|
||||
try:
|
||||
try:
|
||||
argcomplete.autocomplete(amd_smi_parser)
|
||||
|
||||
Reference in New Issue
Block a user