From 571f95c866e97f68c9f4597cda7c0ae66e06dfe8 Mon Sep 17 00:00:00 2001 From: Ondrej Date: Tue, 20 Dec 2022 11:44:13 +0100 Subject: [PATCH 1/2] Update readjustService.ps1 --- win32/readjustService.ps1 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/win32/readjustService.ps1 b/win32/readjustService.ps1 index a8e129d3..ed7ea37b 100644 --- a/win32/readjustService.ps1 +++ b/win32/readjustService.ps1 @@ -35,7 +35,7 @@ function doAdjust_ACmode { $Script:repeatWaitTimeSeconds = 1 #only use values below 5s if you are using $monitorField adjust "fast_limit" 46000 adjust "slow_limit" 25000 - #adjust "slow_time" 30 + #adjust "coall" 4294967266 #Curve optimizer at -30 #adjust "tctl_temp" 93 #adjust "apu_skin_temp_limit" 50 #adjust "vrmmax_current" 100000 @@ -106,6 +106,9 @@ $apiHeader = @' [DllImport("libryzenadj.dll")] public static extern int set_apu_skin_temp_limit(IntPtr ry, [In]uint value); [DllImport("libryzenadj.dll")] public static extern int set_dgpu_skin_temp_limit(IntPtr ry, [In]uint value); [DllImport("libryzenadj.dll")] public static extern int set_apu_slow_limit(IntPtr ry, [In]uint value); +[DllImport("libryzenadj.dll")] public static extern int set_coall(IntPtr ry, [In]uint value); +[DllImport("libryzenadj.dll")] public static extern int set_coper(IntPtr ry, [In]uint value); +[DllImport("libryzenadj.dll")] public static extern int set_cogfx(IntPtr ry, [In]uint value); [DllImport("libryzenadj.dll")] public static extern int set_power_saving(IntPtr ry); [DllImport("libryzenadj.dll")] public static extern int set_max_performance(IntPtr ry); From ce807ac658b2d39b98c4d73549ecda6045d76a67 Mon Sep 17 00:00:00 2001 From: Ondrej Date: Tue, 20 Dec 2022 11:49:01 +0100 Subject: [PATCH 2/2] Fixed removed line --- win32/readjustService.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/win32/readjustService.ps1 b/win32/readjustService.ps1 index ed7ea37b..4957042d 100644 --- a/win32/readjustService.ps1 +++ b/win32/readjustService.ps1 @@ -35,6 +35,7 @@ function doAdjust_ACmode { $Script:repeatWaitTimeSeconds = 1 #only use values below 5s if you are using $monitorField adjust "fast_limit" 46000 adjust "slow_limit" 25000 + #adjust "slow_time" 30 #adjust "coall" 4294967266 #Curve optimizer at -30 #adjust "tctl_temp" 93 #adjust "apu_skin_temp_limit" 50