diff options
| author | Dhananjay Ugwekar <Dhananjay.Ugwekar@amd.com> | 2024-12-04 14:48:40 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-21 14:01:40 +0100 |
| commit | 8ce0d636da0fb6ecb3458dafe9c4220b8c064de7 (patch) | |
| tree | 6e804c3ece729f764d609a62d9c7713ae47eeeab /include/uapi/linux/errqueue.h | |
| parent | 881d940d9f92b0e8eba48e04e0240df3d9d6f30c (diff) | |
| download | linux-8ce0d636da0fb6ecb3458dafe9c4220b8c064de7.tar.gz linux-8ce0d636da0fb6ecb3458dafe9c4220b8c064de7.tar.bz2 linux-8ce0d636da0fb6ecb3458dafe9c4220b8c064de7.zip | |
cpufreq/amd-pstate: Refactor amd_pstate_epp_reenable() and amd_pstate_epp_offline()
[ Upstream commit b1089e0c8817fda93d474eaa82ad86386887aefe ]
Replace similar code chunks with amd_pstate_update_perf() and
amd_pstate_set_epp() function calls.
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-4-Dhananjay.Ugwekar@amd.com
[ML: Fix LKP reported error about unused variable]
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Stable-dep-of: 3ace20038e19 ("cpufreq/amd-pstate: Fix cpufreq_policy ref counting")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/uapi/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions
