]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: optimization function of smu_update_table
authorKevin Wang <kevin1.wang@amd.com>
Mon, 8 Apr 2019 08:15:36 +0000 (16:15 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Apr 2019 18:48:41 +0000 (13:48 -0500)
commit4dd6f9de8c4bc7a48805a7e4b9327e3dc607dd83
tree1352878d8fd4c69f996fa84516bc9cff5a10ce94
parentb3c722d57c6b96b6aa2ddb6aa8e6b442c6341973
drm/amd/powerplay: optimization function of smu_update_table

in fact, the firmware need 2 parameter: 1.table_id, 2.XferArg
so change the function interface to match the firmware code

Signed-off-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h