summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.h
diff options
context:
space:
mode:
authorXiaojian Du <Xiaojian.Du@amd.com>2021-01-13 18:05:15 +0800
committerAlex Deucher <alexander.deucher@amd.com>2021-01-14 13:13:31 -0500
commite017fb66f7ac152009a41810023e23b7bb6debf7 (patch)
tree70eb301ab426f44ee2005dad62f15e5bd3802210 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.h
parent51e3ca7aa93277d8b2436880a664348d539e4949 (diff)
downloadlinux-e017fb66f7ac152009a41810023e23b7bb6debf7.tar.gz
linux-e017fb66f7ac152009a41810023e23b7bb6debf7.tar.bz2
linux-e017fb66f7ac152009a41810023e23b7bb6debf7.zip
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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.h')
0 files changed, 0 insertions, 0 deletions