summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2015-10-05 10:15:14 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-27 09:53:41 +0900
commit421216eb5efd68d1c6bd3e4c969f71079bd9d0af (patch)
tree45c5a4e892cfdd11227d4895e8e0e44405aa9486
parent834223b58e16b974a194ddcd8a045441984f98fc (diff)
downloadlwn-421216eb5efd68d1c6bd3e4c969f71079bd9d0af.tar.gz
lwn-421216eb5efd68d1c6bd3e4c969f71079bd9d0af.zip
drm/amdgpu: fix num_crtc on CZ
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>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/dce_v11_0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
index c4a21a7afd68..6cc1b3d0284d 100644
--- a/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
@@ -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;