]> git.proxmox.com Git - mirror_ubuntu-focal-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)
commit4825d8d6a0fe689bde668140600663f2c246e88f
tree1352878d8fd4c69f996fa84516bc9cff5a10ce94
parent7cdd4dc58d282904629c9131bf4a2ff1af34f442
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