aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2012-07-26 19:04:20 -0400
committerAlex Deucher <alexander.deucher@amd.com>2013-05-20 12:09:36 -0400
commit86a45cac3f86eb65bfdaa122acf1b9073f9e69b2 (patch)
tree05e16105727c8f56a511e0c5e6767f73bdd8d0af /drivers/gpu/drm/radeon
parentc04c00b4c74aab251ce4fd4757c955cc31ecc50d (diff)
drm/radeon: radeon-asic updates for Hainan
Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon')
-rw-r--r--drivers/gpu/drm/radeon/radeon_asic.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_asic.c b/drivers/gpu/drm/radeon/radeon_asic.c
index 6417132c50cf..44a7a410141e 100644
--- a/drivers/gpu/drm/radeon/radeon_asic.c
+++ b/drivers/gpu/drm/radeon/radeon_asic.c
@@ -2051,9 +2051,12 @@ int radeon_asic_init(struct radeon_device *rdev)
2051 case CHIP_PITCAIRN: 2051 case CHIP_PITCAIRN:
2052 case CHIP_VERDE: 2052 case CHIP_VERDE:
2053 case CHIP_OLAND: 2053 case CHIP_OLAND:
2054 case CHIP_HAINAN:
2054 rdev->asic = &si_asic; 2055 rdev->asic = &si_asic;
2055 /* set num crtcs */ 2056 /* set num crtcs */
2056 if (rdev->family == CHIP_OLAND) 2057 if (rdev->family == CHIP_HAINAN)
2058 rdev->num_crtc = 0;
2059 else if (rdev->family == CHIP_OLAND)
2057 rdev->num_crtc = 2; 2060 rdev->num_crtc = 2;
2058 else 2061 else
2059 rdev->num_crtc = 6; 2062 rdev->num_crtc = 6;