summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-08-14 18:53:56 -0400
committerAlex Deucher <alexander.deucher@amd.com>2013-08-30 16:30:52 -0400
commit090f4b6ad38eec0c24dcdc9d01cc22077c3b9d22 (patch)
treed87ce068b466586c4defad81c870483f29aa9f1a
parent4cb0add259179ca8634fc0fddb2274534a58ff2d (diff)
drm/radeon: enable mgcg on SI
Now that the CP is no longer reset and cg is properly disabled in when appropriate in the dpm code we can now enable mgcg (medium grained clockgating). Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/radeon/radeon_asic.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_asic.c b/drivers/gpu/drm/radeon/radeon_asic.c
index 52fe0d4eeaa0..3bd96cdb7601 100644
--- a/drivers/gpu/drm/radeon/radeon_asic.c
+++ b/drivers/gpu/drm/radeon/radeon_asic.c
@@ -2338,7 +2338,7 @@ int radeon_asic_init(struct radeon_device *rdev)
switch (rdev->family) {
case CHIP_TAHITI:
rdev->cg_flags =
- /*RADEON_CG_SUPPORT_GFX_MGCG |*/
+ RADEON_CG_SUPPORT_GFX_MGCG |
RADEON_CG_SUPPORT_GFX_MGLS |
/*RADEON_CG_SUPPORT_GFX_CGCG |*/
RADEON_CG_SUPPORT_GFX_CGLS |
@@ -2355,7 +2355,7 @@ int radeon_asic_init(struct radeon_device *rdev)
break;
case CHIP_PITCAIRN:
rdev->cg_flags =
- /*RADEON_CG_SUPPORT_GFX_MGCG |*/
+ RADEON_CG_SUPPORT_GFX_MGCG |
RADEON_CG_SUPPORT_GFX_MGLS |
/*RADEON_CG_SUPPORT_GFX_CGCG |*/
RADEON_CG_SUPPORT_GFX_CGLS |
@@ -2374,7 +2374,7 @@ int radeon_asic_init(struct radeon_device *rdev)
break;
case CHIP_VERDE:
rdev->cg_flags =
- /*RADEON_CG_SUPPORT_GFX_MGCG |*/
+ RADEON_CG_SUPPORT_GFX_MGCG |
RADEON_CG_SUPPORT_GFX_MGLS |
/*RADEON_CG_SUPPORT_GFX_CGCG |*/
RADEON_CG_SUPPORT_GFX_CGLS |
@@ -2395,7 +2395,7 @@ int radeon_asic_init(struct radeon_device *rdev)
break;
case CHIP_OLAND:
rdev->cg_flags =
- /*RADEON_CG_SUPPORT_GFX_MGCG |*/
+ RADEON_CG_SUPPORT_GFX_MGCG |
RADEON_CG_SUPPORT_GFX_MGLS |
/*RADEON_CG_SUPPORT_GFX_CGCG |*/
RADEON_CG_SUPPORT_GFX_CGLS |
@@ -2413,7 +2413,7 @@ int radeon_asic_init(struct radeon_device *rdev)
break;
case CHIP_HAINAN:
rdev->cg_flags =
- /*RADEON_CG_SUPPORT_GFX_MGCG |*/
+ RADEON_CG_SUPPORT_GFX_MGCG |
RADEON_CG_SUPPORT_GFX_MGLS |
/*RADEON_CG_SUPPORT_GFX_CGCG |*/
RADEON_CG_SUPPORT_GFX_CGLS |