aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorShyam Sundar S K <[email protected]>2023-01-25 15:29:36 +0530
committerHans de Goede <[email protected]>2023-01-30 14:30:57 +0100
commitf21bf62290dd4d769594dcf0e6a688783d74f6a0 (patch)
treedab9ecbf5aa0953a4f019fcffa27ccb814685b6a /tools/perf/scripts/python/event_analyzing_sample.py
parent635f79bc73cf3d40c4198a20b3a0e7016dd6f0d3 (diff)
platform/x86/amd/pmf: Fix to update SPS thermals when power supply change
Every power mode of static power slider has its own AC and DC power settings. When the power source changes from AC to DC, corresponding DC thermals were not updated from PMF config store and this leads the system to always run on AC power settings. Fix it by registering with power_supply notifier and apply DC settings upon getting notified by the power_supply handler. Fixes: da5ce22df5fe ("platform/x86/amd/pmf: Add support for PMF core layer") Suggested-by: Patil Rajesh Reddy <[email protected]> Signed-off-by: Shyam Sundar S K <[email protected]> Reviewed-by: Mario Limonciello <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions