diff options
author | Kevin Wang <kevin1.wang@amd.com> | 2019-05-16 18:24:08 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-06-21 18:59:32 -0500 |
commit | c7a063a2f21b2ec83f4a3ea2494dc10b52dc3589 (patch) | |
tree | 12a957e0e30c7f70fdac471984fa119950e38d71 /drivers/gpu/drm/amd/powerplay/inc | |
parent | 6f6a7bba696118ea440116f7c09dc93e18d8e78b (diff) | |
download | linux-c7a063a2f21b2ec83f4a3ea2494dc10b52dc3589.tar.bz2 |
drm/amd/powerplay: fix clk type name error OD_SCLK OD_MCLK
use sw-smu clk type name to replace legacy clk type name
Signed-off-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/inc')
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h b/drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h index ccb41fc4f74f..3936e81582de 100644 --- a/drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h +++ b/drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h @@ -564,9 +564,9 @@ struct pptable_funcs { int (*update_specified_od8_value)(struct smu_context *smu, uint32_t index, uint32_t value); - int (*get_od_percentage)(struct smu_context *smu, enum pp_clock_type type); + int (*get_od_percentage)(struct smu_context *smu, enum smu_clk_type clk_type); int (*set_od_percentage)(struct smu_context *smu, - enum pp_clock_type type, + enum smu_clk_type clk_type, uint32_t value); int (*od_edit_dpm_table)(struct smu_context *smu, enum PP_OD_DPM_TABLE_COMMAND type, |