From 42ac2d627c08488bbc2e562126fbb664fe838274 Mon Sep 17 00:00:00 2001 From: Serge <5920850+seerge@users.noreply.github.com> Date: Fri, 4 Oct 2024 12:11:09 +0200 Subject: [PATCH] Hide unsupported power limtis https://github.com/seerge/g-helper/discussions/3215 --- app/Fans.cs | 2 +- app/Ryzen/RyzenControl.cs | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/Fans.cs b/app/Fans.cs index caf1bb5a..91b7251c 100644 --- a/app/Fans.cs +++ b/app/Fans.cs @@ -927,7 +927,7 @@ namespace GHelper { panelSlow.Visible = modeA; - if (RyzenControl.IsAMD()) + if (RyzenControl.IsSupportedPower()) { labelLeftTotal.Text = "SPL (CPU sustained)"; labelLeftSlow.Text = "sPPT (CPU 2 min boost)"; diff --git a/app/Ryzen/RyzenControl.cs b/app/Ryzen/RyzenControl.cs index 9fb52d7e..f0f09947 100644 --- a/app/Ryzen/RyzenControl.cs +++ b/app/Ryzen/RyzenControl.cs @@ -143,6 +143,11 @@ namespace Ryzen return CPUName.Contains("AMD") || CPUName.Contains("Ryzen") || CPUName.Contains("Athlon") || CPUName.Contains("Radeon") || CPUName.Contains("AMD Custom APU 0405"); } + public static bool IsSupportedPower() + { + return IsAMD() && FAMID < 12; + } + public static bool IsSupportedUV() { if (CPUName.Length == 0) Init();