We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e8f6bf commit bfea2b3Copy full SHA for bfea2b3
drivers/cpufreq/amd-pstate.c
@@ -826,6 +826,13 @@ static void amd_pstate_init_prefcore(struct amd_cpudata *cpudata)
826
if (!amd_pstate_prefcore)
827
return;
828
829
+ /* should use amd-hfi instead */
830
+ if (cpu_feature_enabled(X86_FEATURE_AMD_WORKLOAD_CLASS) &&
831
+ IS_ENABLED(CONFIG_AMD_HFI)) {
832
+ amd_pstate_prefcore = false;
833
+ return;
834
+ }
835
+
836
cpudata->hw_prefcore = true;
837
838
/* Priorities must be initialized before ITMT support can be toggled on. */
0 commit comments