diff options
author | Rex Zhu <Rex.Zhu@amd.com> | 2016-12-23 01:07:25 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-01-27 11:12:52 -0500 |
commit | db7da7aa3a8c6a25964f2216fed35f4bf11ceac1 (patch) | |
tree | a952d0759a3c80cd8ea56960e5dd13f19bc6ffae /drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c | |
parent | 634a24d8af026d7e7df9b8c3a5efe3802de1299c (diff) |
drm/amd/powerplay: delete dpm code for Cz/St.
The powerplay implementation has been the default for a
while now.
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/drm/amd/amdgpu/amdgpu_powerplay.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c index 95a568df8551..b1921c7da36b 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c | |||
@@ -78,10 +78,6 @@ static int amdgpu_powerplay_init(struct amdgpu_device *adev) | |||
78 | amd_pp->ip_funcs = &kv_dpm_ip_funcs; | 78 | amd_pp->ip_funcs = &kv_dpm_ip_funcs; |
79 | break; | 79 | break; |
80 | #endif | 80 | #endif |
81 | case CHIP_CARRIZO: | ||
82 | case CHIP_STONEY: | ||
83 | amd_pp->ip_funcs = &cz_dpm_ip_funcs; | ||
84 | break; | ||
85 | default: | 81 | default: |
86 | ret = -EINVAL; | 82 | ret = -EINVAL; |
87 | break; | 83 | break; |
@@ -102,11 +98,9 @@ static int amdgpu_pp_early_init(void *handle) | |||
102 | case CHIP_TONGA: | 98 | case CHIP_TONGA: |
103 | case CHIP_FIJI: | 99 | case CHIP_FIJI: |
104 | case CHIP_TOPAZ: | 100 | case CHIP_TOPAZ: |
105 | adev->pp_enabled = true; | ||
106 | break; | ||
107 | case CHIP_CARRIZO: | 101 | case CHIP_CARRIZO: |
108 | case CHIP_STONEY: | 102 | case CHIP_STONEY: |
109 | adev->pp_enabled = (amdgpu_powerplay == 0) ? false : true; | 103 | adev->pp_enabled = true; |
110 | break; | 104 | break; |
111 | /* These chips don't have powerplay implemenations */ | 105 | /* These chips don't have powerplay implemenations */ |
112 | case CHIP_BONAIRE: | 106 | case CHIP_BONAIRE: |