]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/swSMU: add callback to set AC/DC power source (v2)
authorEvan Quan <evan.quan@amd.com>
Fri, 20 Mar 2020 18:03:25 +0000 (14:03 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 25 Mar 2020 21:00:11 +0000 (17:00 -0400)
commit0803714c6d742bf07dabdaac442ea7304448cdbd
tree8df9c12006d7441e8f5f5ef671afccc15d609d7e
parentc89ffc01761084a8aba029d84897ab2d4d3084f5
drm/amd/swSMU: add callback to set AC/DC power source (v2)

This is needed to tell the SMU firmware what state is in
in certain cases.  DC mode does not allow overclocking
for example.

v2: split Evan's original patch (Alex)

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