]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/pm: apply no power source workaround if dc reported by gpio
authorEvan Quan <evan.quan@amd.com>
Fri, 4 Sep 2020 06:55:43 +0000 (14:55 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Sep 2020 21:48:32 +0000 (17:48 -0400)
commit628f2bf4f1128b1860b3cfff8b7d403899174b09
tree6758b9269fba2b8df850a1e75aec2820b813028b
parentd32a41da3519876608e32cebffc254dc37755972
drm/amd/pm: apply no power source workaround if dc reported by gpio

If dc reported by gpio is supported, the power source switching will
be performed by pmfw automatically. Thus the power source setting
workaround for Navi1x will be not needed.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c