drm/amdgpu: fix num_crtc on CZ
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Oct 2015 14:15:14 +0000 (10:15 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Oct 2015 14:15:14 +0000 (10:15 -0400)
Hw only has 3 crtcs.  copy paste typo.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/dce_v11_0.c

index 6411e824467164831eef8af634051f95b8faba69..fcd2ed5589022eb05087a055111b5a6b53efa067 100644 (file)
@@ -2888,7 +2888,7 @@ static int dce_v11_0_early_init(void *handle)
 
        switch (adev->asic_type) {
        case CHIP_CARRIZO:
-               adev->mode_info.num_crtc = 4;
+               adev->mode_info.num_crtc = 3;
                adev->mode_info.num_hpd = 6;
                adev->mode_info.num_dig = 9;
                break;