aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0673-drm-amd-dal-Avoid-edid-mem-leak-by-deferring-edid-po.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0673-drm-amd-dal-Avoid-edid-mem-leak-by-deferring-edid-po.patch')
-rw-r--r--common/recipes-kernel/linux/files/0673-drm-amd-dal-Avoid-edid-mem-leak-by-deferring-edid-po.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0673-drm-amd-dal-Avoid-edid-mem-leak-by-deferring-edid-po.patch b/common/recipes-kernel/linux/files/0673-drm-amd-dal-Avoid-edid-mem-leak-by-deferring-edid-po.patch
new file mode 100644
index 00000000..9a9705c0
--- /dev/null
+++ b/common/recipes-kernel/linux/files/0673-drm-amd-dal-Avoid-edid-mem-leak-by-deferring-edid-po.patch
@@ -0,0 +1,27 @@
+From 7600e4131a6fc695a2f5364f74db4a0b51d447b8 Mon Sep 17 00:00:00 2001
+From: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
+Date: Wed, 6 Jan 2016 22:44:58 -0500
+Subject: [PATCH 0673/1110] drm/amd/dal: Avoid edid mem leak by deferring edid
+ pointer reset to detect hook where it's released properly.
+
+Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
+Acked-by: Jordan Lazare <Jordan.Lazare@amd.com>
+---
+ drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm_mst_types.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm_mst_types.c b/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm_mst_types.c
+index 1d1cd48..3d36e91 100644
+--- a/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm_mst_types.c
++++ b/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm_mst_types.c
+@@ -353,7 +353,6 @@ static void dm_dp_destroy_mst_connector(
+ aconnector, connector->base.id, aconnector->mst_port);
+
+ aconnector->port = NULL;
+- aconnector->edid = NULL;
+ }
+
+ static void dm_dp_mst_hotplug(struct drm_dp_mst_topology_mgr *mgr)
+--
+2.7.4
+