ソースを参照

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>
Alex Deucher 9 年 前
コミット
70bb246154
1 ファイル変更1 行追加3 行削除
  1. 1 3
      drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c

+ 1 - 3
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: