]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
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 260da022beef6fcddcaf71a4850a5a601079a309..57aa3425fd5ade7051790fe4e28f6174108172ee 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: