drm/radeon: radeon-asic updates for Oland
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Aug 2012 18:00:03 +0000 (14:00 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 2 Feb 2013 00:34:51 +0000 (19:34 -0500)
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_asic.c

index 60edad7e431104d6c4b073694cb6d6535624f907..67f008febec76db4c4ce79be9be3608048c4f2dc 100644 (file)
@@ -1944,9 +1944,13 @@ int radeon_asic_init(struct radeon_device *rdev)
        case CHIP_TAHITI:
        case CHIP_PITCAIRN:
        case CHIP_VERDE:
+       case CHIP_OLAND:
                rdev->asic = &si_asic;
                /* set num crtcs */
-               rdev->num_crtc = 6;
+               if (rdev->family == CHIP_OLAND)
+                       rdev->num_crtc = 2;
+               else
+                       rdev->num_crtc = 6;
                break;
        default:
                /* FIXME: not supported yet */