linux/drivers/gpu/drm/amd/pm
Xiaojian Du e017fb66f7 drm/amd/pm: modify the fine grain tuning function for Renoir
This patch is to modify the fine grain tuning function for Renoir.
The fine grain tuning function uses the sysfs node -- pp_od_clk_voltage
to config gfxclk. Meanwhile, another sysfs
node -- power_dpm_force_perfomance_level also affects the gfx clk.
It will cause confusion when these two sysfs nodes works
together.
It is risky to add two new flags to common smu struct, so
this patch uses the existing flag to make these two sysfs nodes works
separately. Only when power_dpm_force_perfomance_level is changed
to "manual" mode, the fine grain function will be started.
In other profile modes, including "auto", "high", "low", "profile_peak",
"profile_standard", "profile_min_sclk", "profile_min_mclk",
the fine grain tuning function will be shut down and the frequency range
of gfx will be restored the default value.

Signed-off-by: Xiaojian Du <Xiaojian.Du@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Kevin Wang <kevin1.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-01-14 13:13:31 -05:00
..
inc drm/amd/pm: modify the fine grain tuning function for Renoir 2021-01-14 13:13:31 -05:00
powerplay drm/amd/pm/powerplay/hwmgr/vega10_hwmgr: Fix worthy function headers, demote barely documented one 2021-01-11 16:09:14 -05:00
swsmu drm/amd/pm: modify the fine grain tuning function for Renoir 2021-01-14 13:13:31 -05:00
amdgpu_dpm.c drm/amdgpu: skip power profile switch in sriov 2020-12-01 15:58:54 -05:00
amdgpu_pm.c drm/amd/pm: modify the fine grain tuning function for Renoir 2021-01-14 13:13:31 -05:00
Makefile