Skip to content

Commit

Permalink
add value names from PM Table to description to make it more easy to …
Browse files Browse the repository at this point in the history
…find them
  • Loading branch information
Falcosc authored and FlyGoat committed Feb 24, 2021
1 parent 9a5d40d commit a48d42a
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 25 deletions.
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@ Options
-i, --info Show information (W.I.P.)
Settings
-a, --stapm-limit=<u32> Sustained power limit (mW)
-b, --fast-limit=<u32> Fast PPT power limit (mW)
-c, --slow-limit=<u32> Slow PPT power limit (mW)
-d, --slow-time=<u32> Slow PPT constant time (S)
-e, --stapm-time=<u32> STAPM constant time (S)
-a, --stapm-limit=<u32> Sustained Power Limit - STAPM LIMIT (mW)
-b, --fast-limit=<u32> Actual Power Limit - PPT LIMIT FAST (mW)
-c, --slow-limit=<u32> Average Power Limit - PPT LIMIT SLOW (mW)
-d, --slow-time=<u32> Slow PPT Constant Time (s)
-e, --stapm-time=<u32> STAPM constant time (s)
-f, --tctl-temp=<u32> Tctl Temperature Limit (degree C)
-g, --vrm-current=<u32> VRM Current Limit (mA)
-j, --vrmsoc-current=<u32> VRM SoC Current Limit (mA)
-k, --vrmmax-current=<u32> VRM Maximum Current Limit (mA)
-l, --vrmsocmax-current=<u32> VRM SoC Maximum Current Limit (mA)
-m, --psi0-current=<u32> PSI0 Current Limit (mA)
-g, --vrm-current=<u32> VRM Current Limit - TDC LIMIT VDD (mA)
-j, --vrmsoc-current=<u32> VRM SoC Current Limit - TDC LIMIT SoC (mA)
-k, --vrmmax-current=<u32> VRM Maximum Current Limit - EDC LIMIT VDD (mA)
-l, --vrmsocmax-current=<u32> VRM SoC Maximum Current Limit - EDC LIMIT SoC (mA)
-m, --psi0-current=<u32> PSI0 VDD Current Limit (mA)
-n, --psi0soc-current=<u32> PSI0 SoC Current Limit (mA)
-o, --max-socclk-frequency=<u32> Maximum SoC Clock Frequency (MHz)
-p, --min-socclk-frequency=<u32> Minimum SoC Clock Frequency (MHz)
Expand All @@ -50,9 +50,9 @@ Settings
-w, --max-gfxclk=<u32> Maximum GFX Clock (Value)
-x, --min-gfxclk=<u32> Minimum GFX Clock (Value)
-y, --prochot-deassertion-ramp=<u32> Ramp Time After Prochot is Deasserted (Value): limit power based on value, higher values does apply tighter limits after prochot is over
--apu-skin-temp=<u32> APU Skin Temperature Limit (degree C)
--dgpu-skin-temp=<u32> dGPU Skin Temperature Limit (degree C)
--apu-slow-limit=<u32> APU PPT Slow Power limit for A+A dGPU platform (mW)
--apu-skin-temp=<u32> APU Skin Temperature Limit - STT LIMIT APU (degree C)
--dgpu-skin-temp=<u32> dGPU Skin Temperature Limit - STT LIMIT dGPU (degree C)
--apu-slow-limit=<u32> APU PPT Slow Power limit for A+A dGPU platform - PPT LIMIT APU (mW)
```

### Demo
Expand Down
24 changes: 12 additions & 12 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,17 +82,17 @@ int main(int argc, const char **argv)
OPT_GROUP("Options"),
OPT_BOOLEAN('i', "info", &info, "Show information (W.I.P.)"),
OPT_GROUP("Settings"),
OPT_U32('a', "stapm-limit", &stapm_limit, "Sustained power limit (mW)"),
OPT_U32('b', "fast-limit", &fast_limit, "Fast PPT power limit (mW)"),
OPT_U32('c', "slow-limit", &slow_limit, "Slow PPT power limit (mW)"),
OPT_U32('d', "slow-time", &slow_time, "Slow PPT constant time (s)"),
OPT_U32('a', "stapm-limit", &stapm_limit, "Sustained Power Limit - STAPM LIMIT (mW)"),
OPT_U32('b', "fast-limit", &fast_limit, "Actual Power Limit - PPT LIMIT FAST (mW)"),
OPT_U32('c', "slow-limit", &slow_limit, "Average Power Limit - PPT LIMIT SLOW (mW)"),
OPT_U32('d', "slow-time", &slow_time, "Slow PPT Constant Time (s)"),
OPT_U32('e', "stapm-time", &stapm_time, "STAPM constant time (s)"),
OPT_U32('f', "tctl-temp", &tctl_temp, "Tctl Temperature Limit (degree C)"),
OPT_U32('g', "vrm-current", &vrm_current, "VRM Current Limit (mA)"),
OPT_U32('j', "vrmsoc-current", &vrmsoc_current, "VRM SoC Current Limit (mA)"),
OPT_U32('k', "vrmmax-current", &vrmmax_current, "VRM Maximum Current Limit (mA)"),
OPT_U32('l', "vrmsocmax-current", &vrmsocmax_current, "VRM SoC Maximum Current Limit (mA)"),
OPT_U32('m', "psi0-current", &psi0_current, "PSI0 Current Limit (mA)"),
OPT_U32('g', "vrm-current", &vrm_current, "VRM Current Limit - TDC LIMIT VDD (mA)"),
OPT_U32('j', "vrmsoc-current", &vrmsoc_current, "VRM SoC Current Limit - TDC LIMIT SoC (mA)"),
OPT_U32('k', "vrmmax-current", &vrmmax_current, "VRM Maximum Current Limit - EDC LIMIT VDD (mA)"),
OPT_U32('l', "vrmsocmax-current", &vrmsocmax_current, "VRM SoC Maximum Current Limit - EDC LIMIT SoC (mA)"),
OPT_U32('m', "psi0-current", &psi0_current, "PSI0 VDD Current Limit (mA)"),
OPT_U32('n', "psi0soc-current", &psi0soc_current, "PSI0 SoC Current Limit (mA)"),
OPT_U32('o', "max-socclk-frequency", &max_socclk_freq, "Maximum SoC Clock Frequency (MHz)"),
OPT_U32('p', "min-socclk-frequency", &min_socclk_freq, "Minimum SoC Clock Frequency (MHz)"),
Expand All @@ -105,9 +105,9 @@ int main(int argc, const char **argv)
OPT_U32('w', "max-gfxclk", &max_gfxclk_freq, "Maximum GFX Clock (MHz)"),
OPT_U32('x', "min-gfxclk", &min_gfxclk_freq, "Minimum GFX Clock (MHz)"),
OPT_U32('y', "prochot-deassertion-ramp", &prochot_deassertion_ramp, "Ramp Time After Prochot is Deasserted: limit power based on value, higher values does apply tighter limits after prochot is over"),
OPT_U32('\0', "apu-skin-temp", &apu_skin_temp_limit, "APU Skin Temperature Limit (degree C)"),
OPT_U32('\0', "dgpu-skin-temp", &dgpu_skin_temp_limit, "dGPU Skin Temperature Limit (degree C)"),
OPT_U32('\0', "apu-slow-limit", &apu_slow_limit, "APU PPT Slow Power limit for A+A dGPU platform (mW)"),
OPT_U32('\0', "apu-skin-temp", &apu_skin_temp_limit, "APU Skin Temperature Limit - STT LIMIT APU (degree C)"),
OPT_U32('\0', "dgpu-skin-temp", &dgpu_skin_temp_limit, "dGPU Skin Temperature Limit - STT LIMIT dGPU (degree C)"),
OPT_U32('\0', "apu-slow-limit", &apu_slow_limit, "APU PPT Slow Power limit for A+A dGPU platform - PPT LIMIT APU (mW)"),
OPT_GROUP("P-State Functions"),
OPT_END(),
};
Expand Down

0 comments on commit a48d42a

Please sign in to comment.