[SWDEV-563828] Fix incorrect help text for --perf-determinism (#812)

* [SWDEV-563828] Fix incorrect help text for --perf-determinism flag to indicate it expects GFXCLK frequency in MHz

---------

Signed-off-by: Billakanti, Koushik <Koushik.Billakanti@amd.com>

[ROCm/amdsmi commit: 23f68555db]
This commit is contained in:
Billakanti, Koushik
2025-11-17 12:55:14 -06:00
committed by GitHub
parent 40aa184c2a
commit 72d9e8a607
2 changed files with 2 additions and 4 deletions
+1 -2
View File
@@ -1252,8 +1252,7 @@ class AMDSMIParser(argparse.ArgumentParser):
set_perf_level_help = f"Set one of the following performance levels:\n\t{perf_level_help_choices_str}"
power_profile_choices_str = ", ".join(self.helpers.get_power_profiles()[0:-1])
set_profile_help = f"Set power profile level (#) or choose one of available profiles:\n\t{power_profile_choices_str}"
perf_det_choices_str = ", ".join(self.helpers.get_perf_det_levels())
set_perf_det_help = f"Set performance determinism and select one of the corresponding performance levels:\n\t{perf_det_choices_str}"
set_perf_det_help = "Enable performance determinism mode and set GFXCLK softmax limit (in MHz)"
(accelerator_set_choices, _) = self.helpers.get_accelerator_choices_types_indices()
memory_partition_choices_str = ", ".join(self.helpers.get_memory_partition_types())
accelerator_set_choices_str = ", ".join(accelerator_set_choices)
@@ -563,8 +563,7 @@ Set Arguments:
AUTO, LOW, HIGH, MANUAL, STABLE_STD, STABLE_PEAK, STABLE_MIN_MCLK, STABLE_MIN_SCLK, DETERMINISM
-P, --profile PROFILE_LEVEL Set power profile level (#) or choose one of available profiles:
CUSTOM_MASK, VIDEO_MASK, POWER_SAVING_MASK, COMPUTE_MASK, VR_MASK, THREE_D_FULL_SCR_MASK, BOOTUP_DEFAULT
-d, --perf-determinism SCLKMAX Set performance determinism and select one of the corresponding performance levels:
AUTO, LOW, HIGH, MANUAL, STABLE_STD, STABLE_PEAK, STABLE_MIN_MCLK, STABLE_MIN_SCLK, DETERMINISM
-d, --perf-determinism SCLKMAX Enable performance determinism mode and set GFXCLK softmax limit (in MHz)
-C, --compute-partition TYPE/INDEX Set one of the following the accelerator TYPE or profile INDEX:
N/A.
Use `sudo amd-smi partition --accelerator` to find acceptable values.