aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_asic.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-08-15 16:20:26 -0400
committerAlex Deucher <alexander.deucher@amd.com>2013-08-30 16:30:50 -0400
commit5594a558faca933f64277c2033bd724968cd3d89 (patch)
treef57480adddfb225fefaf435bb2dbe58b100dbdb6 /drivers/gpu/drm/radeon/radeon_asic.c
parente16866ecfbfabc546fe8f02fdf4359707f81e81e (diff)
drm/radeon: fixes for gfx clockgating on SI
Clockgating requires signalling between the CP and the RLC to work properly. Resetting the CP block in the CP resume code messed up the internal coordination between the blocks. Removing the reset allows gfx clockgating to work properly. However, when gfx clock gating is enabled, there is a strange interaction with dpm which causes the chip to stay in the high performance level all the time, so leave gfx clockgating disabled for now. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_asic.c')
-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 3bd96cdb7601..52fe0d4eeaa0 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)
2338 switch (rdev->family) { 2338 switch (rdev->family) {
2339 case CHIP_TAHITI: 2339 case CHIP_TAHITI:
2340 rdev->cg_flags = 2340 rdev->cg_flags =
2341 RADEON_CG_SUPPORT_GFX_MGCG | 2341 /*RADEON_CG_SUPPORT_GFX_MGCG |*/
2342 RADEON_CG_SUPPORT_GFX_MGLS | 2342 RADEON_CG_SUPPORT_GFX_MGLS |
2343 /*RADEON_CG_SUPPORT_GFX_CGCG |*/ 2343 /*RADEON_CG_SUPPORT_GFX_CGCG |*/
2344 RADEON_CG_SUPPORT_GFX_CGLS | 2344 RADEON_CG_SUPPORT_GFX_CGLS |
@@ -2355,7 +2355,7 @@ int radeon_asic_init(struct radeon_device *rdev)
2355 break; 2355 break;
2356 case CHIP_PITCAIRN: 2356 case CHIP_PITCAIRN:
2357 rdev->cg_flags = 2357 rdev->cg_flags =
2358 RADEON_CG_SUPPORT_GFX_MGCG | 2358 /*RADEON_CG_SUPPORT_GFX_MGCG |*/
2359 RADEON_CG_SUPPORT_GFX_MGLS | 2359 RADEON_CG_SUPPORT_GFX_MGLS |
2360 /*RADEON_CG_SUPPORT_GFX_CGCG |*/ 2360 /*RADEON_CG_SUPPORT_GFX_CGCG |*/
2361 RADEON_CG_SUPPORT_GFX_CGLS | 2361 RADEON_CG_SUPPORT_GFX_CGLS |
@@ -2374,7 +2374,7 @@ int radeon_asic_init(struct radeon_device *rdev)
2374 break; 2374 break;
2375 case CHIP_VERDE: 2375 case CHIP_VERDE:
2376 rdev->cg_flags = 2376 rdev->cg_flags =
2377 RADEON_CG_SUPPORT_GFX_MGCG | 2377 /*RADEON_CG_SUPPORT_GFX_MGCG |*/
2378 RADEON_CG_SUPPORT_GFX_MGLS | 2378 RADEON_CG_SUPPORT_GFX_MGLS |
2379 /*RADEON_CG_SUPPORT_GFX_CGCG |*/ 2379 /*RADEON_CG_SUPPORT_GFX_CGCG |*/
2380 RADEON_CG_SUPPORT_GFX_CGLS | 2380 RADEON_CG_SUPPORT_GFX_CGLS |
@@ -2395,7 +2395,7 @@ int radeon_asic_init(struct radeon_device *rdev)
2395 break; 2395 break;
2396 case CHIP_OLAND: 2396 case CHIP_OLAND:
2397 rdev->cg_flags = 2397 rdev->cg_flags =
2398 RADEON_CG_SUPPORT_GFX_MGCG | 2398 /*RADEON_CG_SUPPORT_GFX_MGCG |*/
2399 RADEON_CG_SUPPORT_GFX_MGLS | 2399 RADEON_CG_SUPPORT_GFX_MGLS |
2400 /*RADEON_CG_SUPPORT_GFX_CGCG |*/ 2400 /*RADEON_CG_SUPPORT_GFX_CGCG |*/
2401 RADEON_CG_SUPPORT_GFX_CGLS | 2401 RADEON_CG_SUPPORT_GFX_CGLS |
@@ -2413,7 +2413,7 @@ int radeon_asic_init(struct radeon_device *rdev)
2413 break; 2413 break;
2414 case CHIP_HAINAN: 2414 case CHIP_HAINAN:
2415 rdev->cg_flags = 2415 rdev->cg_flags =
2416 RADEON_CG_SUPPORT_GFX_MGCG | 2416 /*RADEON_CG_SUPPORT_GFX_MGCG |*/
2417 RADEON_CG_SUPPORT_GFX_MGLS | 2417 RADEON_CG_SUPPORT_GFX_MGLS |
2418 /*RADEON_CG_SUPPORT_GFX_CGCG |*/ 2418 /*RADEON_CG_SUPPORT_GFX_CGCG |*/
2419 RADEON_CG_SUPPORT_GFX_CGLS | 2419 RADEON_CG_SUPPORT_GFX_CGLS |