drm/amdgpu/powerplay: enable powerplay by default on TOPAZ
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Jul 2016 17:35:42 +0000 (13:35 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Aug 2016 15:32:35 +0000 (11:32 -0400)
Now that the implementation is complete.

Acked-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c

index 260da02..57aa342 100644 (file)
@@ -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: