]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cpufreq/amd-pstate: Move the invocation of amd_pstate_update_perf()
authorDhananjay Ugwekar <Dhananjay.Ugwekar@amd.com>
Wed, 4 Dec 2024 14:48:39 +0000 (14:48 +0000)
committerMario Limonciello <mario.limonciello@amd.com>
Wed, 11 Dec 2024 16:44:52 +0000 (10:44 -0600)
commit57a2b25e45cd40eaa2e505452384fa1b7248895a
treec88173c7fc56bfcc9c8642d05a930d6b8615b385
parent16c977f8177f9c2ecb88319c944722107c952731
cpufreq/amd-pstate: Move the invocation of amd_pstate_update_perf()

amd_pstate_update_perf() should not be a part of shmem_set_epp() function,
so move it to the amd_pstate_epp_update_limit() function, where it is needed.

Signed-off-by: Dhananjay Ugwekar <Dhananjay.Ugwekar@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Link: https://lore.kernel.org/r/20241204144842.164178-3-Dhananjay.Ugwekar@amd.com
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
drivers/cpufreq/amd-pstate.c