#6 Added psi0-current-limit ability.

This commit is contained in:
Quentin Decaunes 2019-06-01 15:57:12 +02:00
parent 323f141316
commit 38cdabfa69
3 changed files with 3 additions and 0 deletions

View File

@ -52,6 +52,7 @@ function applyRyzenSettings() {
value = value; value = value;
break; break;
case "--psi0-current=":
case "--vrmmax-current=": case "--vrmmax-current=":
value = '0x' + decimalToHexString(value * 1000); value = '0x' + decimalToHexString(value * 1000);
break; break;

View File

@ -364,6 +364,7 @@ function recreateShortcut() {
function getCurrentSettings(keyType) { function getCurrentSettings(keyType) {
if (keyType === "ryzenadjArgs") { if (keyType === "ryzenadjArgs") {
const optionToId = { const optionToId = {
"--psi0-current=": 'psi0_current_limit',
"--stapm-time=": 'stapm_time_ms', "--stapm-time=": 'stapm_time_ms',
"--stapm-limit=": 'stapm_limit_w', "--stapm-limit=": 'stapm_limit_w',
"--fast-limit=": 'ppt_fast_limit_w', "--fast-limit=": 'ppt_fast_limit_w',

View File

@ -1,4 +1,5 @@
{ {
"psi0_current_limit": "The limit of current we let the motherboard deliver to the PSI0.",
"stapm_time_ms": "Skin Temperature Aware Power Management. This will define the boost period to be used.", "stapm_time_ms": "Skin Temperature Aware Power Management. This will define the boost period to be used.",
"stapm_limit_w": "Skin Temperature Aware Power Management. This will define the socket power package limit which is used to manage the device boost period.", "stapm_limit_w": "Skin Temperature Aware Power Management. This will define the socket power package limit which is used to manage the device boost period.",
"ppt_fast_limit_w": "The amount of power the CPU can draw while boost levels on.", "ppt_fast_limit_w": "The amount of power the CPU can draw while boost levels on.",