drm/amd/pp: Fix sclk in highest two levels when compute on smu7
authorRex Zhu <Rex.Zhu@amd.com>
Fri, 23 Feb 2018 09:41:07 +0000 (17:41 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 6 Mar 2018 18:12:29 +0000 (13:12 -0500)
commit180a8bebdd50fc8ce4677e579d49d9b73880caa7
treeee4126588baa6b9024c06778d2417093b9003666
parent5d24af846ee3264a0e3b2d6ee535b904e34b3fce
drm/amd/pp: Fix sclk in highest two levels when compute on smu7

Compute workload tends to be "bursty", Only tune the behavior of
nature dpm don't work well for most of such workloads. From test
results, Fix sclk in highest two levels can get better performance.
so add min sclk setting into the default cumpute workload policy on
smu7.

user still can change sclk range through sysfs pp_dpm_sclk
for better perf/watt.

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