drm/amd/powerplay: correct UVD/VCE/VCN power status retrieval
authorEvan Quan <evan.quan@amd.com>
Mon, 22 Jul 2019 02:42:29 +0000 (10:42 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 31 Jul 2019 07:02:22 +0000 (02:02 -0500)
commit6dee4829cfde106a8af7d0d3ba23022f8f054761
tree7a6ca01b8928e26797a0d4bd58eb5310eb3fdefa
parenta3ebbdb95f8c343a547ee2abec4d8abbf71f8a94
drm/amd/powerplay: correct UVD/VCE/VCN power status retrieval

VCN should be used for Vega20 later ASICs while UVD and VCE
are for previous ASICs.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c