]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cpufreq/amd-pstate: Set different default EPP policy for Epyc and Ryzen
authorMario Limonciello <mario.limonciello@amd.com>
Mon, 9 Dec 2024 18:52:47 +0000 (12:52 -0600)
committerMario Limonciello <mario.limonciello@amd.com>
Wed, 11 Dec 2024 16:44:53 +0000 (10:44 -0600)
commitf9a378ff6443cdcd4387e5dbb76fa5fa549a83ec
treec91a687f8af19b162a0e63ebc29be4f36227187b
parentf8fde687c911a366a6132aed85f4ee6b647b9160
cpufreq/amd-pstate: Set different default EPP policy for Epyc and Ryzen

For Ryzen systems the EPP policy set by the BIOS is generally configured
to performance as this is the default register value for the CPPC request
MSR.

If a user doesn't use additional software to configure EPP then the system
will default biased towards performance and consume extra battery. Instead
configure the default to "balanced_performance" for this case.

Suggested-by: Artem S. Tashkinov <aros@gmx.com>
Reviewed-by: Dhananjay Ugwekar <dhananjay.ugwekar@amd.com>
Tested-by: Dhananjay Ugwekar <dhananjay.ugwekar@amd.com>
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=219526
Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Link: https://lore.kernel.org/r/20241209185248.16301-15-mario.limonciello@amd.com
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
drivers/cpufreq/amd-pstate.c