diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2012-07-26 23:04:20 (GMT) |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-05-20 16:09:36 (GMT) |
commit | 86a45cac3f86eb65bfdaa122acf1b9073f9e69b2 (patch) | |
tree | 05e16105727c8f56a511e0c5e6767f73bdd8d0af /drivers | |
parent | c04c00b4c74aab251ce4fd4757c955cc31ecc50d (diff) | |
download | linux-86a45cac3f86eb65bfdaa122acf1b9073f9e69b2.tar.xz |
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')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_asic.c | 5 |
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 6417132..44a7a41 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) case CHIP_PITCAIRN: case CHIP_VERDE: case CHIP_OLAND: + case CHIP_HAINAN: rdev->asic = &si_asic; /* set num crtcs */ - if (rdev->family == CHIP_OLAND) + if (rdev->family == CHIP_HAINAN) + rdev->num_crtc = 0; + else if (rdev->family == CHIP_OLAND) rdev->num_crtc = 2; else rdev->num_crtc = 6; |