From 38cdabfa69555603afc603f48025f2b607e3e0bb Mon Sep 17 00:00:00 2001 From: Quentin Decaunes Date: Sat, 1 Jun 2019 15:57:12 +0200 Subject: [PATCH] #6 Added psi0-current-limit ability. --- js/app.js | 1 + js/methods.js | 1 + js/options_description.json | 1 + 3 files changed, 3 insertions(+) diff --git a/js/app.js b/js/app.js index cb543b9..1303fa3 100644 --- a/js/app.js +++ b/js/app.js @@ -52,6 +52,7 @@ function applyRyzenSettings() { value = value; break; + case "--psi0-current=": case "--vrmmax-current=": value = '0x' + decimalToHexString(value * 1000); break; diff --git a/js/methods.js b/js/methods.js index 2bb81f3..9db123d 100644 --- a/js/methods.js +++ b/js/methods.js @@ -364,6 +364,7 @@ function recreateShortcut() { function getCurrentSettings(keyType) { if (keyType === "ryzenadjArgs") { const optionToId = { + "--psi0-current=": 'psi0_current_limit', "--stapm-time=": 'stapm_time_ms', "--stapm-limit=": 'stapm_limit_w', "--fast-limit=": 'ppt_fast_limit_w', diff --git a/js/options_description.json b/js/options_description.json index 1f11a0e..9c25510 100644 --- a/js/options_description.json +++ b/js/options_description.json @@ -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_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.",