On 8/22/2023 05:44, Pavel Machek wrote:
Hi!
From: Shyam Sundar S K <Shyam-sundar.S-k@xxxxxxx>
[ Upstream commit 33c9ab5b493a0e922b06c12fed4fdcb862212cda ]
APMF fn8 can notify EC about the OS slider position change. Add this
capability to the PMF driver so that it can call the APMF fn8 based on
the changes in the Platform profile events.
New feature with a new API. Why is it in AUTOSEL?
FWIW I have no opposition to it going to 6.4.y. It fixes issues on some
systems that the EC controls the APU power targets and that power
profiles weren't working.
Best regards,
Pavel
drivers/platform/x86/amd/pmf/acpi.c | 21 ++++++++
drivers/platform/x86/amd/pmf/core.c | 9 +++-
drivers/platform/x86/amd/pmf/pmf.h | 16 +++++++
drivers/platform/x86/amd/pmf/sps.c | 74 +++++++++++++++++++++++++++--
4 files changed, 114 insertions(+), 6 deletions(-)