drm/amdgpu/powerplay: add set_mp1_state for vega20
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 25 Jul 2019 15:43:28 +0000 (10:43 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 31 Jul 2019 04:24:35 +0000 (23:24 -0500)
commita906277d22f790418e68a2ad0feba6617b165d40
tree2e9efa501635e35d5bd2f426efe9d47a2d674765
parent479baeacd82841e44cd860d84fa66fe6240f1814
drm/amdgpu/powerplay: add set_mp1_state for vega20

This sets the SMU into the proper state for various
operations (shutdown, unload, GPU reset, etc.).

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