File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1616,8 +1616,9 @@ static void amd_pstate_epp_reenable(struct amd_cpudata *cpudata)
1616
1616
wrmsrl_on_cpu (cpudata -> cpu , MSR_AMD_CPPC_REQ , value );
1617
1617
} else {
1618
1618
perf_ctrls .max_perf = max_perf ;
1619
- perf_ctrls .energy_perf = AMD_CPPC_ENERGY_PERF_PREF (cpudata -> epp_cached );
1620
1619
cppc_set_perf (cpudata -> cpu , & perf_ctrls );
1620
+ perf_ctrls .energy_perf = AMD_CPPC_ENERGY_PERF_PREF (cpudata -> epp_cached );
1621
+ cppc_set_epp_perf (cpudata -> cpu , & perf_ctrls , 1 );
1621
1622
}
1622
1623
}
1623
1624
@@ -1658,8 +1659,9 @@ static void amd_pstate_epp_offline(struct cpufreq_policy *policy)
1658
1659
} else {
1659
1660
perf_ctrls .desired_perf = 0 ;
1660
1661
perf_ctrls .max_perf = min_perf ;
1661
- perf_ctrls .energy_perf = AMD_CPPC_ENERGY_PERF_PREF (HWP_EPP_BALANCE_POWERSAVE );
1662
1662
cppc_set_perf (cpudata -> cpu , & perf_ctrls );
1663
+ perf_ctrls .energy_perf = AMD_CPPC_ENERGY_PERF_PREF (HWP_EPP_BALANCE_POWERSAVE );
1664
+ cppc_set_epp_perf (cpudata -> cpu , & perf_ctrls , 1 );
1663
1665
}
1664
1666
mutex_unlock (& amd_pstate_limits_lock );
1665
1667
}
You can’t perform that action at this time.
0 commit comments