diff options
Diffstat (limited to 'drivers/gpu/drm/radeon')
-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 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; |