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 22:08:09 +0000 (18:08 -0400)
commit2c5b8080d810d98e3e59617680218499b17c84a1
treef25aa4debdcf2ca94793b0dc158056a24d4affd6
parent266d81d9eed30f4994d76a2b237c63ece062eefe
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