linux-stable/drivers/gpu/drm/amd/powerplay/smumgr
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
..
ci_smumgr.c drm/amd/powerplay: remove redundant assignment to variables HiSidd and LoSidd 2019-11-26 09:48:57 -05:00
ci_smumgr.h drm/amd/pp: Delete dead code in powerplay 2018-02-19 14:18:47 -05:00
fiji_smumgr.c drm/amd/powerplay: remove set but not used variable 'threshold', 'state' 2019-11-13 15:29:45 -05:00
fiji_smumgr.h drm/amd/pp: Delete dead code in powerplay 2018-02-19 14:18:47 -05:00
iceland_smumgr.c drm/amdgpu: remove memset after kzalloc 2019-07-16 13:09:05 -05:00
iceland_smumgr.h drm/amd/pp: Delete dead code in powerplay 2018-02-19 14:18:47 -05:00
Makefile drm/amd/powerplay: add the smu manager for vega20 (v2) 2018-08-27 11:10:26 -05:00
polaris10_smumgr.c drm/amdgpu/powerplay: fix typo in mvdd table setup 2019-10-09 11:46:20 -05:00
polaris10_smumgr.h drm/amd/pp: Change activity_target for performance optimization on Polaris 2018-02-19 14:18:46 -05:00
smu7_smumgr.c drm/amdgpu: Load fw between hw_init/resume_phase1 and phase2 2018-10-10 14:49:21 -05:00
smu7_smumgr.h drm/amdgpu/pp/smu7: cache smu firmware toc 2018-07-13 14:52:58 -05:00
smu8_smumgr.c drm/amdgpu: Drop unused variable and statement 2019-10-03 09:11:06 -05:00
smu8_smumgr.h drm/amd/pp: Rename file name cz_* to smu8_* 2018-03-15 09:58:56 -05:00
smu9_smumgr.c drm/amd/powerplay: enable pp one vf mode for vega10 2019-12-11 15:22:07 -05:00
smu9_smumgr.h drm/amdgpu/pp: switch smu callback type for get_argument() 2018-07-16 11:39:28 -05:00
smu10_smumgr.c drm/amdgpu: switch to new amdgpu_nbio structure 2019-09-13 17:11:03 -05:00
smu10_smumgr.h drm/amd/pp: Replace rv_* with smu10_* 2018-03-15 09:57:12 -05:00
smumgr.c drm/amdgpu/powerplay: declare firmware for CI cards 2019-02-13 17:51:25 -05:00
tonga_smumgr.c drm/amdgpu: remove memset after kzalloc 2019-07-16 13:09:05 -05:00
tonga_smumgr.h drm/amd/pp: Delete dead code in powerplay 2018-02-19 14:18:47 -05:00
vega10_smumgr.c drm/amd/powerplay: enable pp one vf mode for vega10 2019-12-11 15:22:07 -05:00
vega10_smumgr.h drm/amdgpu: implement ENABLED_SMC_FEATURES_MASK sensor for vega10 2018-09-26 21:09:10 -05:00
vega12_smumgr.c drm/amdgpu: switch to new amdgpu_nbio structure 2019-09-13 17:11:03 -05:00
vega12_smumgr.h drm/amdgpu/powerplay: add smu smc_table_manager callback for vega12 2018-09-26 21:09:09 -05:00
vega20_smumgr.c drm/amdgpu: switch to new amdgpu_nbio structure 2019-09-13 17:11:03 -05:00
vega20_smumgr.h drm/amd/powerplay: Add interface to lock SMU HW I2C. 2019-08-27 08:17:42 -05:00
vegam_smumgr.c drm/amd/powerplay: remove set but not used variable 'stretch_amount2' 2019-11-26 09:48:57 -05:00
vegam_smumgr.h drm/amd/powerplay: add smumgr support for VEGAM (v2) 2018-05-15 13:44:04 -05:00