drm/amdgpu/swSMU: handle manual AC/DC notifications
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 20 Mar 2020 17:03:12 +0000 (13:03 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 25 Mar 2020 21:00:11 +0000 (17:00 -0400)
commit9644bf5f4ab8d691c46e53f67b825c90d97e7219
tree4bb62ac8be46fd65bbfad5733069821ddba239e2
parentf5cdd2bdd9ba08e469f655c5c6175e3e3ffb38b9
drm/amdgpu/swSMU: handle manual AC/DC notifications

For boards that do not support automatic AC/DC transitions
in firmware, manually tell the firmware when the status
changes.

Bug: https://gitlab.freedesktop.org/drm/amd/issues/1043
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h