diff options
author | Mario Limonciello <[email protected]> | 2023-06-20 12:24:32 -0500 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2023-06-21 18:44:56 +0200 |
commit | 32f80b9adfdb43f8af248596724f59dde938a190 (patch) | |
tree | 553630058cdbeea21de3514995d60cd349112524 /lib/crypto/mpi/mpi-sub-ui.c | |
parent | 965262ef71c475857d0984a5eee57694b207a113 (diff) |
cpufreq: amd-pstate: Set a fallback policy based on preferred_profile
If a user's configuration doesn't explicitly specify the cpufreq
scaling governor then the code currently explicitly falls back to
'powersave'. This default is fine for notebooks and desktops, but
servers and undefined machines should default to 'performance'.
Look at the 'preferred_profile' field from the FADT to set this
policy accordingly.
Link: https://uefi.org/htmlspecs/ACPI_Spec_6_4_html/05_ACPI_Software_Programming_Model/ACPI_Software_Programming_Model.html#fixed-acpi-description-table-fadt
Acked-by: Huang Rui <[email protected]>
Suggested-by: Wyes Karny <[email protected]>
Reviewed-by: Gautham R. Shenoy <[email protected]>
Signed-off-by: Mario Limonciello <[email protected]>
Reviewed-by: Perry Yuan <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions