aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_asic.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_asic.c')
-rw-r--r--drivers/gpu/drm/radeon/radeon_asic.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_asic.c b/drivers/gpu/drm/radeon/radeon_asic.c
index 64fb89ecbf7..bf7ec0441e6 100644
--- a/drivers/gpu/drm/radeon/radeon_asic.c
+++ b/drivers/gpu/drm/radeon/radeon_asic.c
@@ -849,7 +849,9 @@ int radeon_asic_init(struct radeon_device *rdev)
849 if (rdev->flags & RADEON_SINGLE_CRTC) 849 if (rdev->flags & RADEON_SINGLE_CRTC)
850 rdev->num_crtc = 1; 850 rdev->num_crtc = 1;
851 else { 851 else {
852 if (ASIC_IS_DCE4(rdev)) 852 if (ASIC_IS_DCE41(rdev))
853 rdev->num_crtc = 2;
854 else if (ASIC_IS_DCE4(rdev))
853 rdev->num_crtc = 6; 855 rdev->num_crtc = 6;
854 else 856 else
855 rdev->num_crtc = 2; 857 rdev->num_crtc = 2;