platform/x86/amd/pmf: Notify OS power slider update
authorShyam Sundar S K <Shyam-sundar.S-k@amd.com>
Fri, 14 Jul 2023 14:44:35 +0000 (20:14 +0530)
committerHans de Goede <hdegoede@redhat.com>
Tue, 25 Jul 2023 12:31:25 +0000 (14:31 +0200)
commit33c9ab5b493a0e922b06c12fed4fdcb862212cda
treedbba24c5ecd883ede00b7a279aa169aad20601c4
parent839e90e75e695b3d9ee17f5a2811e7ee5aea8d4a
platform/x86/amd/pmf: Notify OS power slider update

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.

Co-developed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Patil Rajesh Reddy <Patil.Reddy@amd.com>
Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Link: https://lore.kernel.org/r/20230714144435.1239776-2-Shyam-sundar.S-k@amd.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/amd/pmf/acpi.c
drivers/platform/x86/amd/pmf/core.c
drivers/platform/x86/amd/pmf/pmf.h
drivers/platform/x86/amd/pmf/sps.c