diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0879-drm-amd-dal-dm-fix-crtc-count-for-STONEY.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0879-drm-amd-dal-dm-fix-crtc-count-for-STONEY.patch | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0879-drm-amd-dal-dm-fix-crtc-count-for-STONEY.patch b/common/recipes-kernel/linux/files/0879-drm-amd-dal-dm-fix-crtc-count-for-STONEY.patch new file mode 100644 index 00000000..9c94e3a3 --- /dev/null +++ b/common/recipes-kernel/linux/files/0879-drm-amd-dal-dm-fix-crtc-count-for-STONEY.patch @@ -0,0 +1,46 @@ +From edd619acefeaa7a95c52ec9b5b01b97558c62531 Mon Sep 17 00:00:00 2001 +From: Alex Deucher <alexander.deucher@amd.com> +Date: Fri, 4 Mar 2016 18:02:39 -0500 +Subject: [PATCH 0879/1110] drm/amd/dal/dm: fix crtc count for STONEY +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Stoney has 2 rather then 3. + +Reviewed-by: Christian König <christian.koenig@amd.com> +Reviewed-by: Ken Wang <Qingqing.Wang@amd.com> +Reviewed-by: Harry Wentland <harry.wentland@amd.com> +Signed-off-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.c | 8 +++++++- + 1 file changed, 7 insertions(+), 1 deletion(-) + +diff --git a/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.c +index b089124..c12ef99 100644 +--- a/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.c ++++ b/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.c +@@ -1244,13 +1244,19 @@ static int dm_early_init(void *handle) + adev->mode_info.funcs = &dm_dce_v10_0_display_funcs; + break; + case CHIP_CARRIZO: +- case CHIP_STONEY: + adev->mode_info.num_crtc = 3; + adev->mode_info.num_hpd = 6; + adev->mode_info.num_dig = 9; + if (adev->mode_info.funcs == NULL) + adev->mode_info.funcs = &dm_dce_v11_0_display_funcs; + break; ++ case CHIP_STONEY: ++ adev->mode_info.num_crtc = 2; ++ adev->mode_info.num_hpd = 6; ++ adev->mode_info.num_dig = 9; ++ if (adev->mode_info.funcs == NULL) ++ adev->mode_info.funcs = &dm_dce_v11_0_display_funcs; ++ break; + default: + DRM_ERROR("Usupported ASIC type: 0x%X\n", adev->asic_type); + return -EINVAL; +-- +2.7.4 + |