drm/amd/powerplay: update vega20 clocks threshold settings on power state adjust
authorEvan Quan <evan.quan@amd.com>
Mon, 21 May 2018 02:43:31 +0000 (10:43 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:10:32 +0000 (11:10 -0500)
commit8c191fe3d55309f0bd12ab5fa6f2272675a89f41
tree67b2d8544b0d32fa186a93af6347fb35fd066b3c
parentacd116243a0da2a082dabd920ec68d782390d66d
drm/amd/powerplay: update vega20 clocks threshold settings on power state adjust

UVD, VCE and SOC clocks need to be taken into consideration. Also, the
thresholds need be updated correspondingly when stable power state is selected.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-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