aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0974-drm-amd-dal-fix-edp-detection-segfault.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0974-drm-amd-dal-fix-edp-detection-segfault.patch')
-rw-r--r--common/recipes-kernel/linux/files/0974-drm-amd-dal-fix-edp-detection-segfault.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0974-drm-amd-dal-fix-edp-detection-segfault.patch b/common/recipes-kernel/linux/files/0974-drm-amd-dal-fix-edp-detection-segfault.patch
new file mode 100644
index 00000000..664101b0
--- /dev/null
+++ b/common/recipes-kernel/linux/files/0974-drm-amd-dal-fix-edp-detection-segfault.patch
@@ -0,0 +1,29 @@
+From 8be297f5dfdfba6eae4c908d7ee3e1fe8ef7cbc6 Mon Sep 17 00:00:00 2001
+From: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
+Date: Wed, 16 Dec 2015 15:42:34 -0500
+Subject: [PATCH 0974/1050] drm/amd/dal: fix edp detection segfault
+
+Change-Id: I51b67240c179bedf7cd1469bfaeed5fb5ca7e6c6
+Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
+Acked-by: Jordan Lazare <Jordan.Lazare@amd.com>
+---
+ drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm_types.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm_types.c b/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm_types.c
+index 45f48e8..a4570ed 100644
+--- a/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm_types.c
++++ b/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm_types.c
+@@ -1852,7 +1852,8 @@ int amdgpu_dm_connector_init(
+
+ drm_connector_register(&aconnector->base);
+
+- if (connector_type == DRM_MODE_CONNECTOR_DisplayPort)
++ if (connector_type == DRM_MODE_CONNECTOR_DisplayPort
++ || connector_type == DRM_MODE_CONNECTOR_eDP)
+ amdgpu_dm_initialize_mst_connector(dm, aconnector);
+
+ #if defined(CONFIG_BACKLIGHT_CLASS_DEVICE) ||\
+--
+1.9.1
+