Skip to content

Commit

Permalink
Re-enable power targets
Browse files Browse the repository at this point in the history
  • Loading branch information
irusanov committed Dec 20, 2019
1 parent e06afa5 commit 42240ef
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions ZenStatesSrv/ZenStatesSrv.cs
Original file line number Diff line number Diff line change
Expand Up @@ -186,14 +186,11 @@ private static void applySettings()
cpuh.SetC6Package(cpuh.ZenC6Package);
cpuh.SetCpb(cpuh.ZenCorePerfBoost);

/*if (cpuh.cpuType < CPUHandler.CPUType.Matisse)
{
cpuh.SetPPT(cpuh.ZenPPT);
cpuh.SetTDC(cpuh.ZenTDC);
cpuh.SetEDC(cpuh.ZenEDC);
}*/

cpuh.SetPPT(cpuh.ZenPPT);
cpuh.SetTDC(cpuh.ZenTDC);
cpuh.SetEDC(cpuh.ZenEDC);
cpuh.SetScalar(cpuh.ZenScalar);

cpuh.SetPerfBias(cpuh.PerformanceBias);
}

Expand Down Expand Up @@ -403,12 +400,9 @@ protected override bool OnPowerEvent(PowerBroadcastStatus powerStatus)
// Perf bias
cpuh.SetPerfBias(cpuh.PerformanceBias);

/*if (cpuh.cpuType >= CPUHandler.CPUType.Matisse)
{
cpuh.SetPPT(cpuh.ZenPPT);
cpuh.SetTDC(cpuh.ZenTDC);
cpuh.SetEDC(cpuh.ZenEDC);
}*/
cpuh.SetPPT(cpuh.ZenPPT);
cpuh.SetTDC(cpuh.ZenTDC);
cpuh.SetEDC(cpuh.ZenEDC);
cpuh.SetScalar(cpuh.ZenScalar);
}

Expand Down

0 comments on commit 42240ef

Please sign in to comment.