aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.14.71/0248-drm-amd-display-We-don-t-support-interlace-and-doubl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/0248-drm-amd-display-We-don-t-support-interlace-and-doubl.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/0248-drm-amd-display-We-don-t-support-interlace-and-doubl.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/0248-drm-amd-display-We-don-t-support-interlace-and-doubl.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/0248-drm-amd-display-We-don-t-support-interlace-and-doubl.patch
new file mode 100644
index 00000000..181e9929
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/0248-drm-amd-display-We-don-t-support-interlace-and-doubl.patch
@@ -0,0 +1,35 @@
+From 554fca2a1e47840612a9a5dea4be9fac5df29428 Mon Sep 17 00:00:00 2001
+From: Harry Wentland <harry.wentland@amd.com>
+Date: Thu, 16 Feb 2017 10:37:00 -0500
+Subject: [PATCH 0248/4131] drm/amd/display: We don't support interlace and
+ doublescan
+
+Don't tell DRM otherwise.
+
+Signed-off-by: Harry Wentland <harry.wentland@amd.com>
+Acked-by: Harry Wentland <Harry.Wentland@amd.com>
+Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c
+index 2f771ea..81887bb 100644
+--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c
++++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c
+@@ -2013,8 +2013,9 @@ void amdgpu_dm_connector_init_helper(
+
+ aconnector->connector_id = link_index;
+ aconnector->dc_link = link;
+- aconnector->base.interlace_allowed = true;
+- aconnector->base.doublescan_allowed = true;
++ aconnector->base.interlace_allowed = false;
++ aconnector->base.doublescan_allowed = false;
++ aconnector->base.stereo_allowed = false;
+ aconnector->base.dpms = DRM_MODE_DPMS_OFF;
+ aconnector->hpd.hpd = AMDGPU_HPD_NONE; /* not used */
+
+--
+2.7.4
+