]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/amd: Move amd_get_highest_perf() from amd.c to cppc.c
authorMario Limonciello <mario.limonciello@amd.com>
Mon, 26 Aug 2024 21:13:51 +0000 (16:13 -0500)
committerMario Limonciello <mario.limonciello@amd.com>
Wed, 11 Sep 2024 15:23:22 +0000 (10:23 -0500)
commit2bcec09cc4ae62229e149213499e45b74190a24a
tree875d8ff4d4c3345e9fb151c00d9d5ba6d28fd34d
parent6b612d1bac67b0f483fde7779a45f6310274d4eb
x86/amd: Move amd_get_highest_perf() from amd.c to cppc.c

To prepare to let amd_get_highest_perf() detect preferred cores
it will require CPPC functions. Move amd_get_highest_perf() to
cppc.c to prepare for 'preferred core detection' rework.

No functional changes intended.

Reviewed-by: Perry Yuan <perry.yuan@amd.com>
Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
arch/x86/kernel/acpi/cppc.c
arch/x86/kernel/cpu/amd.c