diff options
author | Kevin Wang | 2019-01-07 08:34:09 +0100 |
---|---|---|
committer | Alex Deucher | 2019-03-19 21:03:57 +0100 |
commit | dbe6a97024a6eeadf7912383e05118ff98883d2d (patch) | |
tree | 0e14b1c45dfa5cd8107386c4be21350c9a3d57e0 /drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h | |
parent | drm/amd/powerplay: add function to start thermal control (diff) | |
download | kernel-qcow2-linux-dbe6a97024a6eeadf7912383e05118ff98883d2d.tar.gz kernel-qcow2-linux-dbe6a97024a6eeadf7912383e05118ff98883d2d.tar.xz kernel-qcow2-linux-dbe6a97024a6eeadf7912383e05118ff98883d2d.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h')
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h b/drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h index fe86a7fdfebf..c159e4d731fe 100644 --- a/drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h +++ b/drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h @@ -364,4 +364,7 @@ extern int smu_feature_set_enabled(struct smu_context *smu, int feature_id, bool extern int smu_feature_is_supported(struct smu_context *smu, int feature_id); extern int smu_feature_set_supported(struct smu_context *smu, int feature_id, bool enable); +int smu_update_table(struct smu_context *smu, uint32_t table_id, + void *table_data, bool drv2smu); + #endif |