I want to rewrite the scripts with the following in mind:
- Rename scripts to
amd-*, since this will bring the inclusion of other cards into the fold
- CLI Switches
- Array to hold custom
pstate|clock|voltage values, this will allow for more cards, more easily, without having to store every cards hardware defaults
- Stop using
power_dpm_state, as it's only provided for backwards compatibility. Should only be using power_dpm_force_performance_level going forward
Example idea(s) for amd-power-control:
amd-power-control -h - Function to list out help
amd-power-control -r - Function to reset to default, include c to commit change to default card values
amd-power-control -p - Function to set power_dpm_force_performance_level: auto, low, high, manual
amd-power-control -l - Function to set a custom profile using power_dpm_force_performance_level: profile_standard, profile_min_sclk, profile_min_mclk, profile_peak
amd-power-control -s - Function to set GPU clock pstate/clock/voltage level
amd-power-control -m - Function to set memory clock pstate/clock level
amd-power-control -v - Function to set memory clock pstate/voltage level
amd-power-control -i - Function to get current card settings
amd-power-control -c - Set powercap
I want to rewrite the scripts with the following in mind:
amd-*, since this will bring the inclusion of other cards into the foldpstate|clock|voltagevalues, this will allow for more cards, more easily, without having to store every cards hardware defaultspower_dpm_state, as it's only provided for backwards compatibility. Should only be usingpower_dpm_force_performance_levelgoing forwardExample idea(s) for
amd-power-control:amd-power-control -h- Function to list out helpamd-power-control -r- Function to reset to default, includecto commit change to default card valuesamd-power-control -p- Function to setpower_dpm_force_performance_level: auto, low, high, manualamd-power-control -l- Function to set a custom profile usingpower_dpm_force_performance_level: profile_standard, profile_min_sclk, profile_min_mclk, profile_peakamd-power-control -s- Function to set GPU clock pstate/clock/voltage levelamd-power-control -m- Function to set memory clock pstate/clock levelamd-power-control -v- Function to set memory clock pstate/voltage levelamd-power-control -i- Function to get current card settingsamd-power-control -c- Set powercap