drm/amd/powerplay: correct UVD/VCE PG state on custom pptable uploading
authorEvan Quan <evan.quan@amd.com>
Fri, 7 Aug 2020 09:01:47 +0000 (17:01 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 10 Aug 2020 21:26:52 +0000 (17:26 -0400)
commit8d0717f422255513ae1afab2ea0b75ba9f1512a9
tree39771fe1dd8667767513b96d8e486ee9776292b9
parent7358462f7de98f95550f27abf805d4d5c95e2a5c
drm/amd/powerplay: correct UVD/VCE PG state on custom pptable uploading

The UVD/VCE PG state is managed by UVD and VCE IP. It's error-prone to
assume the bootup state in SMU based on the dpm status.

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