]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/smu11: add a helper to set the power source
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 20 Mar 2020 17:42:26 +0000 (13:42 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 25 Mar 2020 21:00:11 +0000 (17:00 -0400)
commit0dda03a08b356ac44e8b08903ea6645f7ecba865
treeee5dfce9c654876306990610b0bb228778b4db6d
parent0803714c6d742bf07dabdaac442ea7304448cdbd
drm/amdgpu/smu11: add a helper to set the power source

Add a common smu11 helper to set the AC/DC power source.

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/powerplay/inc/smu_v11_0.h
drivers/gpu/drm/amd/powerplay/smu_v11_0.c