aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_asic.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-07-23 09:41:05 -0400
committerAlex Deucher <alexander.deucher@amd.com>2013-08-30 16:30:08 -0400
commit22c775ce80ed921fe9490f3cc2ca66dcda44f572 (patch)
tree5c330689c876b94c34857feefdac1b2cbb27cbc3 /drivers/gpu/drm/radeon/radeon_asic.c
parent1fd11777c2f0e6b6b37432b984bf40e3c6072f23 (diff)
drm/radeon: implement clock and power gating for CIK (v3)
Only the APUs support power gating. v2: disable cgcg for now v3: workaround hw issue in mgcg 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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_asic.c b/drivers/gpu/drm/radeon/radeon_asic.c
index 1926ec06a638..880551b6df61 100644
--- a/drivers/gpu/drm/radeon/radeon_asic.c
+++ b/drivers/gpu/drm/radeon/radeon_asic.c
@@ -2780,6 +2780,7 @@ int radeon_asic_init(struct radeon_device *rdev)
2780 case CHIP_BONAIRE: 2780 case CHIP_BONAIRE:
2781 rdev->asic = &ci_asic; 2781 rdev->asic = &ci_asic;
2782 rdev->num_crtc = 6; 2782 rdev->num_crtc = 6;
2783 rdev->has_uvd = true;
2783 break; 2784 break;
2784 case CHIP_KAVERI: 2785 case CHIP_KAVERI:
2785 case CHIP_KABINI: 2786 case CHIP_KABINI:
@@ -2789,6 +2790,7 @@ int radeon_asic_init(struct radeon_device *rdev)
2789 rdev->num_crtc = 4; 2790 rdev->num_crtc = 4;
2790 else 2791 else
2791 rdev->num_crtc = 2; 2792 rdev->num_crtc = 2;
2793 rdev->has_uvd = true;
2792 break; 2794 break;
2793 default: 2795 default:
2794 /* FIXME: not supported yet */ 2796 /* FIXME: not supported yet */