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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Sep 2020 09:29:32 +0000 (11:29 +0200)
commit757460fe235155690e7de6142b8740718852f655
tree1a6b4bb360dcb737b152c155fb329e90324ff120
parenteb7eaabb7fb9c77ca35d132126f60019567705f9
drm/amd/powerplay: correct UVD/VCE PG state on custom pptable uploading

[ Upstream commit 2c5b8080d810d98e3e59617680218499b17c84a1 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c