linux-kernelorg-stable/drivers/gpu/drm/amd/pm/powerplay/hwmgr
Xiaojian Du 98b6476208 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-06 16:20:30 -05:00
..
Makefile
ci_baco.c drm/amd/pm: correct the baco reset sequence for CI ASICs 2020-10-30 01:00:27 -04:00
ci_baco.h
common_baco.c
common_baco.h
fiji_baco.c
fiji_baco.h
hardwaremanager.c drm/amd/pm/powerplay/hwmgr/hardwaremanager: Fix function header related formatting issues 2020-12-01 16:04:44 -05:00
hwmgr.c drm/amd/pm/powerplay/hwmgr/hwmgr: Move 'vega20_hwmgr_init()'s prototype to shared header 2020-12-01 16:04:45 -05:00
hwmgr_ppt.h drm/amd/pm: Replace one-element array with flexible-array in struct phm_ppt_v1_pcie_table 2020-10-09 14:43:30 -04:00
polaris_baco.c
polaris_baco.h
pp_overdriver.c
pp_overdriver.h
pp_psm.c drm/amdgpu/powerplay/psm: return an error in power state init 2020-12-02 17:37:16 -05:00
pp_psm.h
ppatomctrl.c drm/amd/pm/powerplay/hwmgr/ppatomctrl: Fix a myriad of kernel-doc issues 2020-12-01 16:04:44 -05:00
ppatomctrl.h drm/amd/pm: correct the checks for sclk/mclk SS support 2020-10-27 11:59:03 -04:00
ppatomfwctrl.c drm/amd/pm/powerplay/hwmgr/ppatomfwctrl: Demote kernel-doc formatting abuses 2020-12-01 16:04:44 -05:00
ppatomfwctrl.h
ppevvmath.h drm/amd/pm/powerplay/hwmgr/ppevvmath: Place variable declaration under same clause as its use 2020-12-01 16:04:44 -05:00
pppcielanes.c
pppcielanes.h
pptable_v1_0.h drm/amd/pm: correct Polaris powertune table setup 2020-10-27 11:59:10 -04:00
process_pptables_v1_0.c drm/amd/pm/powerplay/hwmgr/process_pptables_v1_0: Convert to proper kernel-doc format 2020-12-01 16:04:44 -05:00
process_pptables_v1_0.h
processpptables.c drm/amdgpu/powerplay: parse fan table for CI asics 2020-12-03 15:54:03 -05:00
processpptables.h
smu7_baco.c
smu7_baco.h
smu7_clockpowergating.c
smu7_clockpowergating.h
smu7_dyn_defaults.h
smu7_hwmgr.c drm/amd/pm/powerplay/hwmgr/smu7_hwmgr: Fix a whole bunch of historical function doc issues 2020-12-01 16:04:45 -05:00
smu7_hwmgr.h drm/amd/pm: reconfigure smc on display vbitimeout setting change 2020-10-27 12:00:47 -04:00
smu7_powertune.c drm/amd/pm: correct Polaris DIDT configurations 2020-10-27 11:59:16 -04:00
smu7_powertune.h
smu7_thermal.c drm/amd/pm/powerplay/hwmgr/smu7_thermal: Repair formatting in a bunch of function docs 2020-12-01 16:04:45 -05:00
smu7_thermal.h
smu8_hwmgr.c drm/amd/pm: Replace one-element array with flexible-array member 2020-10-09 14:43:29 -04:00
smu8_hwmgr.h
smu9_baco.c
smu9_baco.h
smu10_hwmgr.c drm/amd/pm: improve the fine grain tuning function for RV/RV2/PCO 2021-01-06 16:20:30 -05:00
smu10_hwmgr.h drm/amd/pm: improve the fine grain tuning function for RV/RV2/PCO 2021-01-06 16:20:30 -05:00
smu10_inc.h
smu_helper.c drm/amd/pm/powerplay/hwmgr/smu_helper: Demote or fix kernel-doc headers 2020-12-01 16:04:45 -05:00
smu_helper.h
tonga_baco.c
tonga_baco.h
vega10_baco.c
vega10_baco.h
vega10_hwmgr.c drm/amdgpu/powerplay/vega10: handle error in getting pptable 2020-12-02 17:37:16 -05:00
vega10_hwmgr.h
vega10_inc.h
vega10_powertune.c
vega10_powertune.h
vega10_pptable.h
vega10_processpptables.c drm/amd/pm/powerplay/hwmgr/vega10_processpptables: Make function invoked by reference static 2020-12-01 16:04:44 -05:00
vega10_processpptables.h
vega10_thermal.c drm/amd/pm/powerplay/hwmgr/vega10_thermal: Fix a bunch of dated function doc formatting 2020-12-01 16:04:45 -05:00
vega10_thermal.h
vega12_baco.c
vega12_baco.h
vega12_hwmgr.c drm/amdgpu/powerplay: hwmgr - modify the return value 2020-09-17 21:22:16 -04:00
vega12_hwmgr.h
vega12_inc.h drm/amd/powerplay: remove duplicate include 2020-08-24 12:23:25 -04:00
vega12_pptable.h
vega12_processpptables.c drm/amd/pm: Use kmemdup instead of kmalloc and memcpy 2020-11-10 14:27:54 -05:00
vega12_processpptables.h
vega12_thermal.c drm/amd/pm/powerplay/hwmgr/vega12_thermal: Fix some outdated function documentation 2020-12-01 16:04:45 -05:00
vega12_thermal.h
vega20_baco.c
vega20_baco.h
vega20_hwmgr.c
vega20_hwmgr.h
vega20_inc.h
vega20_powertune.c
vega20_powertune.h
vega20_pptable.h
vega20_processpptables.c drm/amd/pm: use kmemdup() rather than kmalloc+memcpy 2020-08-26 16:40:19 -04:00
vega20_processpptables.h
vega20_thermal.c drm/amd/pm/powerplay/hwmgr/vega20_thermal: Fix some outdated function documentation 2020-12-01 16:04:45 -05:00
vega20_thermal.h