Skip to content

Commit

Permalink
Hide unsupported power limtis #3215
Browse files Browse the repository at this point in the history
  • Loading branch information
seerge committed Oct 4, 2024
1 parent 3c241ca commit 42ac2d6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/Fans.cs
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,7 @@ public void InitPower()
{
panelSlow.Visible = modeA;

if (RyzenControl.IsAMD())
if (RyzenControl.IsSupportedPower())
{
labelLeftTotal.Text = "SPL (CPU sustained)";
labelLeftSlow.Text = "sPPT (CPU 2 min boost)";
Expand Down
5 changes: 5 additions & 0 deletions app/Ryzen/RyzenControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,11 @@ public static bool IsAMD()
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();
Expand Down

0 comments on commit 42ac2d6

Please sign in to comment.