drm/amd/powerplay: revise vega20 PPSMC_MSG_SetSoftMin/[Max]ByFreq settings
authorEvan Quan <evan.quan@amd.com>
Mon, 21 May 2018 02:24:57 +0000 (10:24 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:10:32 +0000 (11:10 -0500)
commitacd116243a0da2a082dabd920ec68d782390d66d
tree8df0e7c1a028f53a29ddf3e730e87ae6865f8859
parentd617d4d73043bc4cbc316a7a1b4370fa5bc26a31
drm/amd/powerplay: revise vega20 PPSMC_MSG_SetSoftMin/[Max]ByFreq settings

UVD, VCE and Socclk also need to be taken into consideration when
setting PPSMC_MSG_SetSoftMinByFreq and PPSMC_MSG_SetSoftMaxByFreq.

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