From: Alex Deucher Date: Thu, 26 Jul 2012 23:04:20 +0000 (-0400) Subject: drm/radeon: radeon-asic updates for Hainan X-Git-Tag: MMI-PSA29.97-13-9~14363^2^2~4 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=86a45cac3f86eb65bfdaa122acf1b9073f9e69b2;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git drm/radeon: radeon-asic updates for Hainan Signed-off-by: Alex Deucher Reviewed-by: Christian König --- 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) 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;