aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_asic.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-08-12 17:25:26 -0400
committerAlex Deucher <alexander.deucher@amd.com>2013-08-30 16:30:55 -0400
commitddc76ff6c78ecb189102bdc3bd9d14de5b750a6f (patch)
treed143e2aa3f3e5eb3197f2a055bae2e4d3421b44c /drivers/gpu/drm/radeon/radeon_asic.c
parent473359bc28e193031a76d99f71e8b6c4808719a6 (diff)
drm/radeon: fixes for gfx clockgating on CIK
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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_asic.c b/drivers/gpu/drm/radeon/radeon_asic.c
index 630853b96841..6152169d011f 100644
--- a/drivers/gpu/drm/radeon/radeon_asic.c
+++ b/drivers/gpu/drm/radeon/radeon_asic.c
@@ -2439,7 +2439,7 @@ int radeon_asic_init(struct radeon_device *rdev)
2439 rdev->num_crtc = 6; 2439 rdev->num_crtc = 6;
2440 rdev->has_uvd = true; 2440 rdev->has_uvd = true;
2441 rdev->cg_flags = 2441 rdev->cg_flags =
2442 RADEON_CG_SUPPORT_GFX_MGCG | 2442 /*RADEON_CG_SUPPORT_GFX_MGCG |*/
2443 RADEON_CG_SUPPORT_GFX_MGLS | 2443 RADEON_CG_SUPPORT_GFX_MGLS |
2444 /*RADEON_CG_SUPPORT_GFX_CGCG |*/ 2444 /*RADEON_CG_SUPPORT_GFX_CGCG |*/
2445 RADEON_CG_SUPPORT_GFX_CGLS | 2445 RADEON_CG_SUPPORT_GFX_CGLS |
@@ -2464,7 +2464,7 @@ int radeon_asic_init(struct radeon_device *rdev)
2464 if (rdev->family == CHIP_KAVERI) { 2464 if (rdev->family == CHIP_KAVERI) {
2465 rdev->num_crtc = 4; 2465 rdev->num_crtc = 4;
2466 rdev->cg_flags = 2466 rdev->cg_flags =
2467 RADEON_CG_SUPPORT_GFX_MGCG | 2467 /*RADEON_CG_SUPPORT_GFX_MGCG |*/
2468 RADEON_CG_SUPPORT_GFX_MGLS | 2468 RADEON_CG_SUPPORT_GFX_MGLS |
2469 /*RADEON_CG_SUPPORT_GFX_CGCG |*/ 2469 /*RADEON_CG_SUPPORT_GFX_CGCG |*/
2470 RADEON_CG_SUPPORT_GFX_CGLS | 2470 RADEON_CG_SUPPORT_GFX_CGLS |
@@ -2492,7 +2492,7 @@ int radeon_asic_init(struct radeon_device *rdev)
2492 } else { 2492 } else {
2493 rdev->num_crtc = 2; 2493 rdev->num_crtc = 2;
2494 rdev->cg_flags = 2494 rdev->cg_flags =
2495 RADEON_CG_SUPPORT_GFX_MGCG | 2495 /*RADEON_CG_SUPPORT_GFX_MGCG |*/
2496 RADEON_CG_SUPPORT_GFX_MGLS | 2496 RADEON_CG_SUPPORT_GFX_MGLS |
2497 /*RADEON_CG_SUPPORT_GFX_CGCG |*/ 2497 /*RADEON_CG_SUPPORT_GFX_CGCG |*/
2498 RADEON_CG_SUPPORT_GFX_CGLS | 2498 RADEON_CG_SUPPORT_GFX_CGLS |