diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2016-07-28 13:35:42 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-08-08 11:32:35 -0400 |
commit | 70bb246154229550e5c9095d484b39fb82047907 (patch) | |
tree | 9642b73d4fdee6c46ca5e4ada0e8170c447c73cc /drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c | |
parent | 3c18266cffc9741e1982005034a0a3494acbdf86 (diff) |
drm/amdgpu/powerplay: enable powerplay by default on TOPAZ
Now that the implementation is complete.
Acked-by: Huang Rui <ray.huang@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 | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c index 260da022beef..57aa3425fd5a 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c | |||
@@ -106,15 +106,13 @@ static int amdgpu_pp_early_init(void *handle) | |||
106 | break; | 106 | break; |
107 | case CHIP_TONGA: | 107 | case CHIP_TONGA: |
108 | case CHIP_FIJI: | 108 | case CHIP_FIJI: |
109 | case CHIP_TOPAZ: | ||
109 | adev->pp_enabled = (amdgpu_powerplay == 0) ? false : true; | 110 | adev->pp_enabled = (amdgpu_powerplay == 0) ? false : true; |
110 | break; | 111 | break; |
111 | case CHIP_CARRIZO: | 112 | case CHIP_CARRIZO: |
112 | case CHIP_STONEY: | 113 | case CHIP_STONEY: |
113 | adev->pp_enabled = (amdgpu_powerplay > 0) ? true : false; | 114 | adev->pp_enabled = (amdgpu_powerplay > 0) ? true : false; |
114 | break; | 115 | break; |
115 | case CHIP_TOPAZ: | ||
116 | adev->pp_enabled = (amdgpu_powerplay > 0) ? true : false; | ||
117 | break; | ||
118 | /* These chips don't have powerplay implemenations */ | 116 | /* These chips don't have powerplay implemenations */ |
119 | case CHIP_BONAIRE: | 117 | case CHIP_BONAIRE: |
120 | case CHIP_HAWAII: | 118 | case CHIP_HAWAII: |