diff options
| author | Timur Kristóf <timur.kristof@gmail.com> | 2026-05-19 10:41:56 +0200 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-05-27 10:48:15 -0400 |
| commit | 96da0d86614e2e8ab34afd5b8578e8ee43963df5 (patch) | |
| tree | 1acd7394f8682a2af7db9aef4f82515e1beb68de /include/linux/debugobjects.h | |
| parent | ba1fcd1bac89d0403f910754e1d5ec22acb5bf28 (diff) | |
drm/amd/pm/smu7: Notify SMU7 of DC->AC switch
When ATOM_PP_PLATFORM_CAP_HARDWAREDC is set,
the SMU has a GPIO pin for detecting AC/DC switch
and everything works automatically.
Otherwise when there is no GPIO pin, the SMU can
automatically detect switching to DC, but needs
to be notified of switching to AC.
Use PPSMC_MSG_RunningOnAC to notify the SMC
when switching to AC.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
