drm/amd/powerplay: correct force clock level related settings for vega20 (v2)
authorEvan Quan <evan.quan@amd.com>
Tue, 8 May 2018 10:27:03 +0000 (18:27 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:10:29 +0000 (11:10 -0500)
commitfff7e3e049d897801addf2e9051b3f26e48bdf46
tree780a42882652f18ddf101e4ea86366380f7cd1ae
parent7c2912a26d363eb33d04b4009e857a81c918247b
drm/amd/powerplay: correct force clock level related settings for vega20 (v2)

1. The min/max level is determined by soft_min_level/soft_max_level.
2. Vega20 comes with pptable v3 which has no vdd related
table(vdd_dep_on_socclk, vdd_dep_on_mclk) support.
3. Vega20 does not support separate fan feature control(enable or
disable).

v2: squash in fixes:
- bug fix for force dpm level settings
- fix wrong data type

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