]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: avoid enabling/disabling uvd/vce dpm twice
authorEvan Quan <evan.quan@amd.com>
Thu, 19 Jul 2018 10:40:25 +0000 (18:40 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:10:36 +0000 (11:10 -0500)
commit721a1926a4ddfb1b1550aef621e963c470b18081
tree0f0a06423a6dda88cda6092664f0602563e91422
parent488894f51c795631d78564ead6dbe58081385754
drm/amd/powerplay: avoid enabling/disabling uvd/vce dpm twice

For vega20, there are two UVD rings which share one powerplay instance.
Under some case(two rings used parallel), the uvd dpm is disabled twice
which causes the SMC hang.

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