summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJeremy Klarenbeek <jeremy.klarenbeek99@gmail.com>2026-05-19 10:41:58 +0200
committerAlex Deucher <alexander.deucher@amd.com>2026-05-27 10:48:23 -0400
commit2d071f6457af08f4692d340fcae030b5eabd6837 (patch)
treef8da09477215301e0396c4b4bb802dc3b49640db /include/linux
parente6c5d36756e7d4d260e2365fc4d01226f1973152 (diff)
drm/amd/pm/si: Notify the SMC when switching to AC
There are some platforms that don't have a dedicated GPIO line to manage the AC/DC switch. In this case, the SI SMC automatically notices when switching to DC, but needs to be notified when switching to AC. Fixup and use si_notify_hw_of_powersource() which was previously hidden behind an "#if 0". This fixes some SI laptop GPUs to be able to use their performance power states after switching from DC to AC. Some affected GPUs are: FirePro W4170M - Dell Precision M2800 Radeon HD 8790M - Dell Latitude E6540 Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Co-developed-by: Timur Kristóf <timur.kristof@gmail.com> Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Signed-off-by: Jeremy Klarenbeek <jeremy.klarenbeek99@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions