]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit074368ba81535952b3fe8ecf283ebe830aa8ee07
tree4bb62ac8be46fd65bbfad5733069821ddba239e2
parent0f0b9ead2aa14f3dbd6deb881528aaa1a4bc846e
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