浏览代码

drm/radeon: enable DPM by default on evergreen asics

Seems to be stable on them.  There are still some issues
with the performance states staying in the highest levels
on certain cards when multiple monitors are attached, but
being that the the cards are always in their highest power
state at boot up anyway, this doesn't really change anything
and improves things in all other cases.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Alex Deucher 11 年之前
父节点
当前提交
59f7a2f2da
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. 5 5
      drivers/gpu/drm/radeon/radeon_pm.c

+ 5 - 5
drivers/gpu/drm/radeon/radeon_pm.c

@@ -1244,11 +1244,6 @@ int radeon_pm_init(struct radeon_device *rdev)
 	case CHIP_RV730:
 	case CHIP_RV730:
 	case CHIP_RV710:
 	case CHIP_RV710:
 	case CHIP_RV740:
 	case CHIP_RV740:
-	case CHIP_CEDAR:
-	case CHIP_REDWOOD:
-	case CHIP_JUNIPER:
-	case CHIP_CYPRESS:
-	case CHIP_HEMLOCK:
 	case CHIP_CAYMAN:
 	case CHIP_CAYMAN:
 	case CHIP_ARUBA:
 	case CHIP_ARUBA:
 	case CHIP_BONAIRE:
 	case CHIP_BONAIRE:
@@ -1266,6 +1261,11 @@ int radeon_pm_init(struct radeon_device *rdev)
 		else
 		else
 			rdev->pm.pm_method = PM_METHOD_PROFILE;
 			rdev->pm.pm_method = PM_METHOD_PROFILE;
 		break;
 		break;
+	case CHIP_CEDAR:
+	case CHIP_REDWOOD:
+	case CHIP_JUNIPER:
+	case CHIP_CYPRESS:
+	case CHIP_HEMLOCK:
 	case CHIP_PALM:
 	case CHIP_PALM:
 	case CHIP_SUMO:
 	case CHIP_SUMO:
 	case CHIP_SUMO2:
 	case CHIP_SUMO2: