diff options
author | Xiaojian Du <[email protected]> | 2021-01-13 18:05:15 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2021-01-14 13:13:31 -0500 |
commit | e017fb66f7ac152009a41810023e23b7bb6debf7 (patch) | |
tree | 70eb301ab426f44ee2005dad62f15e5bd3802210 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 51e3ca7aa93277d8b2436880a664348d539e4949 (diff) |
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 <[email protected]>
Reviewed-by: Huang Rui <[email protected]>
Reviewed-by: Kevin Wang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions