]> git.hungrycats.org Git - linux/commitdiff
drm/amdgpu: fix num_crtc on CZ
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Oct 2015 14:15:14 +0000 (10:15 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Oct 2015 00:53:41 +0000 (09:53 +0900)
commit 26d0c21db1fd1679fcf07863741c13ba5ce37a65 upstream.

Hw only has 3 crtcs.  copy paste typo.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/dce_v11_0.c

index c4a21a7afd687ad799a8b251ad727ad80578e876..6cc1b3d0284dae4f766c4950b4d3a8f5990b998c 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;