diff options
author | Evan Quan <evan.quan@amd.com> | 2020-06-09 06:39:26 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-07-10 23:41:48 +0200 |
commit | 9b259eae1cdbb144ae0a5e30d5b0023481541b4b (patch) | |
tree | 24e9e2096627eec10c11c8c47b95967f181bf068 /drivers/gpu/drm/amd/powerplay/inc | |
parent | drm/amd/powerplay: update driver if file for sienna_cichlid (diff) | |
download | linux-9b259eae1cdbb144ae0a5e30d5b0023481541b4b.tar.xz linux-9b259eae1cdbb144ae0a5e30d5b0023481541b4b.zip |
drm/amd/powerplay: drop unnecessary wrappers around clock retrieving
By calling the target APIs directly.
Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-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')
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h b/drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h index 7b349e038972..f3bc1f16b0a4 100644 --- a/drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h +++ b/drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h @@ -521,7 +521,6 @@ struct pptable_funcs { int (*get_enabled_mask)(struct smu_context *smu, uint32_t *feature_mask, uint32_t num); int (*notify_display_change)(struct smu_context *smu); int (*set_power_limit)(struct smu_context *smu, uint32_t n); - int (*get_current_clk_freq)(struct smu_context *smu, enum smu_clk_type clk_id, uint32_t *value); int (*init_max_sustainable_clocks)(struct smu_context *smu); int (*enable_thermal_alert)(struct smu_context *smu); int (*disable_thermal_alert)(struct smu_context *smu); |