]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drm/amd/powerplay: enable powerplay for baffin.
authorRex Zhu <Rex.Zhu@amd.com>
Fri, 11 Mar 2016 19:43:13 +0000 (14:43 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 May 2016 00:26:01 +0000 (20:26 -0400)
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c

index e9c6ae6ed2f73357d762f9aa75406c010238dd4a..ea2006a768eb9899c6693f3968b683640f78b9ac 100644 (file)
@@ -101,6 +101,8 @@ static int amdgpu_pp_early_init(void *handle)
        switch (adev->asic_type) {
        case CHIP_TONGA:
        case CHIP_FIJI:
+       case CHIP_BAFFIN:
+       case CHIP_ELLESMERE:
                adev->pp_enabled = (amdgpu_powerplay == 0) ? false : true;
                break;
        case CHIP_CARRIZO: