aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/si_dpm.c
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2018-01-24 22:44:48 +0000
committerAlex Deucher <[email protected]>2018-02-19 19:18:51 +0000
commit21a381f79e807052cbb8cb8f855caa6d13a5737b (patch)
tree85016dc97fe6d5af2d1def0c42bce49b1c08f2c5 /drivers/gpu/drm/amd/amdgpu/si_dpm.c
parentdrm/amdgpu/pm: use read_sensor API to get temperature (diff)
downloadkernel-21a381f79e807052cbb8cb8f855caa6d13a5737b.tar.gz
kernel-21a381f79e807052cbb8cb8f855caa6d13a5737b.zip
drm/amdgpu/pp: remove the get_temperature API
This is also supported with the read_sensor API and there were no more users of the get_temperature API. Acked-by: Christian König <[email protected]> Reviewed-by: Rex Zhu <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/si_dpm.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/si_dpm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/si_dpm.c b/drivers/gpu/drm/amd/amdgpu/si_dpm.c
index 9d57115a2d67..8138053fcef1 100644
--- a/drivers/gpu/drm/amd/amdgpu/si_dpm.c
+++ b/drivers/gpu/drm/amd/amdgpu/si_dpm.c
@@ -8056,7 +8056,6 @@ const struct amd_ip_funcs si_dpm_ip_funcs = {
};
const struct amd_pm_funcs si_dpm_funcs = {
- .get_temperature = &si_dpm_get_temp,
.pre_set_power_state = &si_dpm_pre_set_power_state,
.set_power_state = &si_dpm_set_power_state,
.post_set_power_state = &si_dpm_post_set_power_state,