OSDN Git Service

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)
commitf5cdd2bdd9ba08e469f655c5c6175e3e3ffb38b9
tree99cc6bbbbf857a615760e62a3466dd0bdd3cf5f1
parent75610fdd38d9d158385049c9f80547a2253c65ea
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