linux/drivers/gpu/drm/amd/powerplay/hwmgr
Yintian Tao c9ffa427db drm/amd/powerplay: enable pp one vf mode for vega10
Originally, due to the restriction from PSP and SMU, VF has
to send message to hypervisor driver to handle powerplay
change which is complicated and redundant. Currently, SMU
and PSP can support VF to directly handle powerplay
change by itself. Therefore, the old code about the handshake
between VF and PF to handle powerplay will be removed and VF
will use new the registers below to handshake with SMU.
mmMP1_SMN_C2PMSG_101: register to handle SMU message
mmMP1_SMN_C2PMSG_102: register to handle SMU parameter
mmMP1_SMN_C2PMSG_103: register to handle SMU response

v2: remove module parameter pp_one_vf
v3: fix the parens
v4: forbid vf to change smu feature
v5: use hwmon_attributes_visible to skip sepicified hwmon atrribute
v6: change skip condition at vega10_copy_table_to_smc

Signed-off-by: Yintian Tao <yttao@amd.com>
Acked-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-12-11 15:22:07 -05:00
..
Makefile drm/amdgpu/powerplay: split out common smu7 BACO code 2019-10-15 15:55:31 -04:00
ci_baco.c drm/amdgpu/powerplay: split out common smu7 BACO code 2019-10-15 15:55:31 -04:00
ci_baco.h drm/amdgpu/powerplay: split out common smu7 BACO code 2019-10-15 15:55:31 -04:00
common_baco.c drm/amdgpu/powerplay: add core support for pre-SOC15 baco 2019-10-15 15:55:31 -04:00
common_baco.h drm/amdgpu/powerplay: add core support for pre-SOC15 baco 2019-10-15 15:55:31 -04:00
fiji_baco.c drm/amdgpu/powerplay: split out common smu7 BACO code 2019-10-15 15:55:31 -04:00
fiji_baco.h drm/amdgpu/powerplay: split out common smu7 BACO code 2019-10-15 15:55:31 -04:00
hardwaremanager.c drm/amd/powerplay: enable pp one vf mode for vega10 2019-12-11 15:22:07 -05:00
hwmgr.c drm/amd/powerplay: enable pp one vf mode for vega10 2019-12-11 15:22:07 -05:00
hwmgr_ppt.h
polaris_baco.c drm/amdgpu/powerplay: split out common smu7 BACO code 2019-10-15 15:55:31 -04:00
polaris_baco.h drm/amdgpu/powerplay: split out common smu7 BACO code 2019-10-15 15:55:31 -04:00
pp_overdriver.c
pp_overdriver.h
pp_psm.c drm/amd/powerplay: enable pp one vf mode for vega10 2019-12-11 15:22:07 -05:00
pp_psm.h drm/amd/powerplay: enforce display related settings only on needed 2019-01-25 16:15:35 -05:00
ppatomctrl.c drm/amdgpu/pp: fix endian swapping in atomctrl_get_voltage_range 2018-07-05 16:39:51 -05:00
ppatomctrl.h drm/amd/powerplay: update ppatomctrl.c (v2) 2018-05-15 13:44:03 -05:00
ppatomfwctrl.c drm/amd/powerplay: set default fclk for no fclk dpm support case 2019-02-27 22:20:16 -05:00
ppatomfwctrl.h drm/amd/powerplay: set default fclk for no fclk dpm support case 2019-02-27 22:20:16 -05:00
ppevvmath.h
pppcielanes.c
pppcielanes.h
pptable_v1_0.h
process_pptables_v1_0.c drm/amdgpu: remove memset after kzalloc 2019-07-16 13:09:05 -05:00
process_pptables_v1_0.h
processpptables.c drm/amdgpu: simplify Raven, Raven2, and Picasso handling 2018-09-14 09:38:03 -05:00
processpptables.h
smu7_baco.c drm/amdgpu/powerplay: split out common smu7 BACO code 2019-10-15 15:55:31 -04:00
smu7_baco.h drm/amdgpu/powerplay: split out common smu7 BACO code 2019-10-15 15:55:31 -04:00
smu7_clockpowergating.c drm/amd/pp: Rename enable_per_cu_power_gating to powergate_gfx 2018-07-05 16:38:48 -05:00
smu7_clockpowergating.h drm/amd/pp: Rename enable_per_cu_power_gating to powergate_gfx 2018-07-05 16:38:48 -05:00
smu7_dyn_defaults.h drm/amd/pp: Change activity_target for performance optimization on Polaris 2018-02-19 14:18:46 -05:00
smu7_hwmgr.c drm/amd/powerplay: Remove unneeded variable 'ret' in smu7_hwmgr.c 2019-12-02 17:55:08 -05:00
smu7_hwmgr.h drm/amdgpu/powerplay: check vrefresh when when changing displays 2018-08-27 11:10:12 -05:00
smu7_powertune.c drm/amdgpu: fix several indentation issues 2019-02-13 17:51:37 -05:00
smu7_powertune.h
smu7_thermal.c drm/amd/pp: Avoid divide-by-zero in fan_ctrl_set_fan_speed_rpm 2018-10-09 17:00:25 -05:00
smu7_thermal.h
smu8_hwmgr.c drm/amd/powerplay/smu8_hwmgr: use struct_size() in kzalloc() 2019-02-19 15:58:27 -05:00
smu8_hwmgr.h drm/amd/pp: Rename file name cz_* to smu8_* 2018-03-15 09:58:56 -05:00
smu9_baco.c drm/amdgpu/powerplay: split out common smu9 BACO code 2019-03-05 15:09:33 -05:00
smu9_baco.h drm/amdgpu/powerplay: split out common smu9 BACO code 2019-03-05 15:09:33 -05:00
smu10_hwmgr.c drm/amd/powerplay: Remove unneeded variable 'result' in smu10_hwmgr.c 2019-12-02 17:55:08 -05:00
smu10_hwmgr.h drm/amd/pp: Use dynamic gfx_clk rather than hardcoded values 2018-05-15 13:43:47 -05:00
smu10_inc.h drm/amd/pp: Replace rv_* with smu10_* 2018-03-15 09:57:12 -05:00
smu_helper.c drm/amd: drop use of drmP.h in atom.h 2019-06-10 23:00:01 +02:00
smu_helper.h drm/amdgpu/powerplay: factor out some pptable helpers 2018-10-10 14:49:44 -05:00
tonga_baco.c drm/amdgpu/powerplay: split out common smu7 BACO code 2019-10-15 15:55:31 -04:00
tonga_baco.h drm/amdgpu/powerplay: split out common smu7 BACO code 2019-10-15 15:55:31 -04:00
vega10_baco.c drm/amdgpu/powerplay: split out common smu9 BACO code 2019-03-05 15:09:33 -05:00
vega10_baco.h drm/amdgpu/powerplay: split out common smu9 BACO code 2019-03-05 15:09:33 -05:00
vega10_hwmgr.c drm/amd/powerplay: enable pp one vf mode for vega10 2019-12-11 15:22:07 -05:00
vega10_hwmgr.h drm/amd/powerplay: support Vega10 SOCclk and DCEFclk dpm level settings 2019-01-25 16:15:37 -05:00
vega10_inc.h
vega10_powertune.c drm/amd/powerplay: enable pp one vf mode for vega10 2019-12-11 15:22:07 -05:00
vega10_powertune.h
vega10_pptable.h drm/amd/powerplay: support Vega10 fan table V3 2019-01-25 16:15:36 -05:00
vega10_processpptables.c drm-misc-next for v5.3: 2019-06-14 11:44:24 +02:00
vega10_processpptables.h drm/amdgpu: Need to set the baco cap before baco reset 2019-05-28 14:47:42 -05:00
vega10_thermal.c drm/amd/powerplay: enable MGPU fan boost feature on Vega10 2019-01-25 16:15:36 -05:00
vega10_thermal.h drm/amd/powerplay: enable MGPU fan boost feature on Vega10 2019-01-25 16:15:36 -05:00
vega12_baco.c drm/amdgpu/powerplay: split out common smu9 BACO code 2019-03-05 15:09:33 -05:00
vega12_baco.h drm/amdgpu/powerplay: split out common smu9 BACO code 2019-03-05 15:09:33 -05:00
vega12_hwmgr.c drm/amd/powerplay: Remove unneeded variable 'result' in vega12_hwmgr.c 2019-12-02 17:55:08 -05:00
vega12_hwmgr.h drm/amd/powerplay: support SMU metrics table on Vega12 2019-05-24 12:20:47 -05:00
vega12_inc.h drm/amdgpu/powerplay: add BACO support for vega12 2019-03-05 15:09:33 -05:00
vega12_pptable.h drm/amd/powerplay: add vega12_pptable.h 2018-03-21 14:36:55 -05:00
vega12_processpptables.c drm/amdgpu/powerplay: factor out some pptable helpers 2018-10-10 14:49:44 -05:00
vega12_processpptables.h drm/amd/powerplay: add the hw manager for vega12 (v4) 2018-03-21 14:36:56 -05:00
vega12_thermal.c drm/amdgpu/pp: split out common smumgr smu9 code 2018-07-16 11:39:22 -05:00
vega12_thermal.h drm/amd/powerplay: add the hw manager for vega12 (v4) 2018-03-21 14:36:56 -05:00
vega20_baco.c drm/amd/powerplay: send EnterBaco msg with argument as RAS recovery flag 2019-10-15 15:49:29 -04:00
vega20_baco.h drm/amd/powerplay: apply Vega20 BACO workaround 2019-03-19 15:36:49 -05:00
vega20_hwmgr.c drm/amd/powerplay: support xgmi pstate setting on powerplay routine V2 2019-11-06 16:27:46 -05:00
vega20_hwmgr.h Linux 5.1-rc5 2019-04-15 15:51:49 +10:00
vega20_inc.h drm/amdgpu: also include NBIO v7.4 register mask header 2019-01-25 16:15:33 -05:00
vega20_powertune.c drm/amd/powerplay: add the hw manager for vega20 (v3) 2018-08-27 11:10:27 -05:00
vega20_powertune.h drm/amd/powerplay: add the hw manager for vega20 (v3) 2018-08-27 11:10:27 -05:00
vega20_pptable.h drm/amd/powerplay: update OD feature judgement 2018-09-19 12:37:48 -05:00
vega20_processpptables.c drm/amd/powerplay: set max fan target temperature as 105C 2019-03-11 14:28:43 -05:00
vega20_processpptables.h drm/amd/powerplay: add the hw manager for vega20 (v3) 2018-08-27 11:10:27 -05:00
vega20_thermal.c drm/amd/powerplay/vega20: enable fan RPM and pwm settings V2 2018-10-09 16:45:58 -05:00
vega20_thermal.h drm/amd/powerplay/vega20: enable fan RPM and pwm settings V2 2018-10-09 16:45:58 -05:00