]> 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)
commitabedec6ad6d1fe8b231299f96377ca7e1c02f57e
tree1352878d8fd4c69f996fa84516bc9cff5a10ce94
parent3a5d06bc98045cd111e3176c38672fd8892102a0
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