]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/swSMU: handle DC controlled by GPIO for navi1x
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 20 Mar 2020 16:37:23 +0000 (12:37 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 25 Mar 2020 21:00:11 +0000 (17:00 -0400)
commit0f0b9ead2aa14f3dbd6deb881528aaa1a4bc846e
tree99cc6bbbbf857a615760e62a3466dd0bdd3cf5f1
parent8963d54ab34b562e9ce7c3ae61323e43c8b90b02
drm/amdgpu/swSMU: handle DC controlled by GPIO for navi1x

Check the platform caps in the vbios pptable to decide
whether to enable automatic AC/DC transitions.

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