mirror_ubuntu-kernels/drivers/gpu/drm/amd/powerplay/smumgr
Sandeep Raghuraman f7b2e34b4a drm/amdgpu: Specify get_argument function for ci_smu_funcs
Starting in Linux 5.8, the graphics and memory clock frequency were not being
reported for CIK cards. This is a regression, since they were reported correctly
in Linux 5.7.

After investigation, I discovered that the smum_send_msg_to_smc() function,
attempts to call the corresponding get_argument() function of ci_smu_funcs.
However, the get_argument() function is not defined in ci_smu_funcs.

This patch fixes the bug by specifying the correct get_argument() function.

Fixes: a0ec225633 ("drm/amd/powerplay: unified interfaces for message issuing and response checking")
Signed-off-by: Sandeep Raghuraman <sandy.8925@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
2020-09-03 00:36:37 -04:00
..
ci_smumgr.c drm/amdgpu: Specify get_argument function for ci_smu_funcs 2020-09-03 00:36:37 -04: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: unified interfaces for message issuing and response checking 2020-04-01 14:44:45 -04:00
fiji_smumgr.h drm/amd/pp: Delete dead code in powerplay 2018-02-19 14:18:47 -05:00
iceland_smumgr.c drm/amd/powerplay: avoid calling SMU7 specific SMU message implemention 2020-04-01 14:44:44 -04: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/amd/powerplay: unified interfaces for message issuing and response checking 2020-04-01 14:44:45 -04: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/amd/powerplay: unified interfaces for message issuing and response checking 2020-04-01 14:44:45 -04:00
smu7_smumgr.h drm/amd/powerpaly: drop unused APIs 2020-04-01 14:44:44 -04:00
smu8_smumgr.c drm/amd/powerplay: unified interfaces for message issuing and response checking 2020-04-01 14:44:45 -04: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: add apu flags (v2) 2020-05-22 13:41:53 -04:00
smu10_smumgr.h drm/amd/pp: Replace rv_* with smu10_* 2018-03-15 09:57:12 -05:00
smumgr.c drm/amd/powerplay: added mutex protection on msg issuing 2020-04-01 14:44:45 -04:00
tonga_smumgr.c drm/powerplay: label internally used symbols as static 2020-07-01 01:59:23 -04: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: unified interfaces for message issuing and response checking 2020-04-01 14:44:45 -04: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/amd/powerplay: unified interfaces for message issuing and response checking 2020-04-01 14:44:45 -04: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/vega20: enable the smu i2c bus for all boards 2020-07-21 15:37:53 -04: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: fix a crash when overclocking Vega M 2020-07-21 15:37:40 -04:00
vegam_smumgr.h drm/amd/powerplay: add smumgr support for VEGAM (v2) 2018-05-15 13:44:04 -05:00