drm/amdgpu/powerplay: fix baco check for vega20
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 7 Feb 2020 15:12:31 +0000 (10:12 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Feb 2020 16:51:58 +0000 (11:51 -0500)
commitd7c719546653501957b4895a2e9463f9be73dedb
tree50b07a0874422726199a2e063f9af05f6e89018d
parent5d8b936df28482739517d62941c907ac460e7430
drm/amdgpu/powerplay: fix baco check for vega20

We need to handle the runpm case as well as GPU reset.

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