1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/pm
Xiaojian Du 2d00164350 drm/amd/pm: improve the fine grain tuning function for RV/RV2/PCO
This patch is to improve the fine grain tuning function for RV/RV2/PCO.
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. So this patch adds one flag to avoid this confusion, the flag
will make these two sysfs nodes work separately.
The flag is set as "disabled" by default, so the fine grain tuning function
will be disabled by default.
Only when power_dpm_force_perfomance_level is changed to
"manual" mode, the flag will be set as "enabled",
and the fine grain tuning function will be enabled.
In other profile modes, including "auto", "high", "low",
"profile_peak", "profile_standard", "profile_min_sclk",
"profile_min_mclk", the flag will be set as "disabled",
and the od range of fine grain tuning function will
be restored default value.

Signed-off-by: Xiaojian Du <Xiaojian.Du@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-01-05 11:33:48 -05:00
..
inc drm/amd/pm: enable the "fetch" function of pp_dpm_vclk/dclk for vangogh 2021-01-05 11:30:06 -05:00
powerplay drm/amd/pm: improve the fine grain tuning function for RV/RV2/PCO 2021-01-05 11:33:48 -05:00
swsmu drm/amd/pm: enable dclk/vclk dpm function in "auto" power profile for vangogh 2021-01-05 11:33:43 -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: add two new sysfs nodes for vangogh 2021-01-05 11:30:00 -05:00
Makefile drm/amd/pm: optimize the power related source code layout 2020-08-14 16:22:41 -04:00