aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorRex Zhu <Rex.Zhu@amd.com>2016-12-27 22:09:00 -0500
committerAlex Deucher <alexander.deucher@amd.com>2017-01-27 11:12:56 -0500
commit9d273495e691f9473db6b2ae2da41515d53a70e9 (patch)
tree8c389d4d809d3e796d21ef9f3e9084edab331205 /drivers/gpu
parentb9bc58140e43ae0ff69a5a52d31e397cb7dee4cd (diff)
drm/amdgpu: delete dead definitions of dpm_ip_funcs
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/ci_dpm.c9
-rw-r--r--drivers/gpu/drm/amd/amdgpu/kv_dpm.c9
-rw-r--r--drivers/gpu/drm/amd/amdgpu/si_dpm.c8
3 files changed, 0 insertions, 26 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/ci_dpm.c b/drivers/gpu/drm/amd/amdgpu/ci_dpm.c
index d8de7eb84f52..ab7d2bb71dad 100644
--- a/drivers/gpu/drm/amd/amdgpu/ci_dpm.c
+++ b/drivers/gpu/drm/amd/amdgpu/ci_dpm.c
@@ -6739,12 +6739,3 @@ static void ci_dpm_set_irq_funcs(struct amdgpu_device *adev)
6739 adev->pm.dpm.thermal.irq.num_types = AMDGPU_THERMAL_IRQ_LAST; 6739 adev->pm.dpm.thermal.irq.num_types = AMDGPU_THERMAL_IRQ_LAST;
6740 adev->pm.dpm.thermal.irq.funcs = &ci_dpm_irq_funcs; 6740 adev->pm.dpm.thermal.irq.funcs = &ci_dpm_irq_funcs;
6741} 6741}
6742
6743const struct amdgpu_ip_block_version ci_dpm_ip_block =
6744{
6745 .type = AMD_IP_BLOCK_TYPE_SMC,
6746 .major = 7,
6747 .minor = 0,
6748 .rev = 0,
6749 .funcs = &ci_dpm_ip_funcs,
6750};
diff --git a/drivers/gpu/drm/amd/amdgpu/kv_dpm.c b/drivers/gpu/drm/amd/amdgpu/kv_dpm.c
index 91f885ba2946..90c2af381cbd 100644
--- a/drivers/gpu/drm/amd/amdgpu/kv_dpm.c
+++ b/drivers/gpu/drm/amd/amdgpu/kv_dpm.c
@@ -3307,12 +3307,3 @@ static void kv_dpm_set_irq_funcs(struct amdgpu_device *adev)
3307 adev->pm.dpm.thermal.irq.num_types = AMDGPU_THERMAL_IRQ_LAST; 3307 adev->pm.dpm.thermal.irq.num_types = AMDGPU_THERMAL_IRQ_LAST;
3308 adev->pm.dpm.thermal.irq.funcs = &kv_dpm_irq_funcs; 3308 adev->pm.dpm.thermal.irq.funcs = &kv_dpm_irq_funcs;
3309} 3309}
3310
3311const struct amdgpu_ip_block_version kv_dpm_ip_block =
3312{
3313 .type = AMD_IP_BLOCK_TYPE_SMC,
3314 .major = 7,
3315 .minor = 0,
3316 .rev = 0,
3317 .funcs = &kv_dpm_ip_funcs,
3318};
diff --git a/drivers/gpu/drm/amd/amdgpu/si_dpm.c b/drivers/gpu/drm/amd/amdgpu/si_dpm.c
index 738ebc125569..4f12da1e7ebf 100644
--- a/drivers/gpu/drm/amd/amdgpu/si_dpm.c
+++ b/drivers/gpu/drm/amd/amdgpu/si_dpm.c
@@ -8072,11 +8072,3 @@ static void si_dpm_set_irq_funcs(struct amdgpu_device *adev)
8072 adev->pm.dpm.thermal.irq.funcs = &si_dpm_irq_funcs; 8072 adev->pm.dpm.thermal.irq.funcs = &si_dpm_irq_funcs;
8073} 8073}
8074 8074
8075const struct amdgpu_ip_block_version si_dpm_ip_block =
8076{
8077 .type = AMD_IP_BLOCK_TYPE_SMC,
8078 .major = 6,
8079 .minor = 0,
8080 .rev = 0,
8081 .funcs = &si_dpm_ip_funcs,
8082};