drm/amd/powerplay: implement smu update table function
authorKevin Wang <Kevin1.Wang@amd.com>
Mon, 7 Jan 2019 07:34:09 +0000 (15:34 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:57 +0000 (15:03 -0500)
commitdbe6a97024a6eeadf7912383e05118ff98883d2d
tree0e14b1c45dfa5cd8107386c4be21350c9a3d57e0
parent74ba3553b2bb26adb36dd7d0b13b85bca64f3ef2
drm/amd/powerplay: implement smu update table function

sometime, the driver need changed table data between driver and smu.
this function can help update table data

Signed-off-by: Kevin Wang <Kevin1.Wang@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@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