drm/amdgpu: Specify get_argument function for ci_smu_funcs
authorSandeep Raghuraman <sandy.8925@gmail.com>
Thu, 27 Aug 2020 11:37:33 +0000 (17:07 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Aug 2020 14:10:51 +0000 (10:10 -0400)
commit177e38a48168f9e70faaec34df053d2f8134ede6
tree7d20d37f7c62b2249d9f7971f9d97fe337152ea8
parentce7e5a6e130d4fe76e09bd082e98b65f630aa474
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: a0ec225633d9f6 ("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>
drivers/gpu/drm/amd/pm/powerplay/smumgr/ci_smumgr.c