Skip to content

Commit

Permalink
[AMD][Genoa] Don't decode CPB ratio from SMU_AMD_F17H_ZEN2_MCM_COF
Browse files Browse the repository at this point in the history
  • Loading branch information
cyring committed Mar 20, 2024
1 parent 49e4e2b commit b465f42
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x86_64/corefreqk.c
Original file line number Diff line number Diff line change
Expand Up @@ -7875,12 +7875,13 @@ static bool Compute_AMD_Zen_Boost(unsigned int cpu)
PRIVATE(OF(Zen)).Device.DF);
break;
case AMD_Zen4_Bergamo:
case AMD_Zen4_Genoa:
case AMD_EPYC_Rome_CPK:
Core_AMD_SMN_Read(XtraCOF,
SMU_AMD_F17H_ZEN2_MCM_COF,
PRIVATE(OF(Zen)).Device.DF);
break;
case AMD_Zen4_Genoa:
break;
}
if (XtraCOF.value != 0)
{
Expand Down

0 comments on commit b465f42

Please sign in to comment.