aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAlex Deucher2016-07-28 13:35:42 -0400
committerAlex Deucher2016-08-08 11:32:35 -0400
commit70bb246154229550e5c9095d484b39fb82047907 (patch)
tree9642b73d4fdee6c46ca5e4ada0e8170c447c73cc /drivers
parent3c18266cffc9741e1982005034a0a3494acbdf86 (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')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c4
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)
break;
case CHIP_TONGA:
case CHIP_FIJI:
+ case CHIP_TOPAZ:
adev->pp_enabled = (amdgpu_powerplay == 0) ? false : true;
break;
case CHIP_CARRIZO:
case CHIP_STONEY:
adev->pp_enabled = (amdgpu_powerplay > 0) ? true : false;
break;
- case CHIP_TOPAZ:
- adev->pp_enabled = (amdgpu_powerplay > 0) ? true : false;
- break;
/* These chips don't have powerplay implemenations */
case CHIP_BONAIRE:
case CHIP_HAWAII: