aboutsummaryrefslogtreecommitdiffstats
path: root/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0337-drm-amd-display-Memory-was-freed-twice-during-disabl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0337-drm-amd-display-Memory-was-freed-twice-during-disabl.patch')
-rw-r--r--meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0337-drm-amd-display-Memory-was-freed-twice-during-disabl.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0337-drm-amd-display-Memory-was-freed-twice-during-disabl.patch b/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0337-drm-amd-display-Memory-was-freed-twice-during-disabl.patch
deleted file mode 100644
index 9c6b7a02..00000000
--- a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0337-drm-amd-display-Memory-was-freed-twice-during-disabl.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 671a80dded4b720d4f88f4050d77b9c97d8fdcb4 Mon Sep 17 00:00:00 2001
-From: Leon Elazar <leon.elazar@amd.com>
-Date: Tue, 4 Apr 2017 10:01:07 -0400
-Subject: [PATCH 0337/4131] drm/amd/display: Memory was freed twice during
- disable
-
-1. get_ss_info_from_atombios function was allocating the memory populating the provided pointer
-but them freeing the memory.
-Since the pointer was return as a valid value, we are trying to free the same memory during clock resource destruction
-
-Signed-off-by: Leon Elazar <leon.elazar@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/dc/dce/dce_clock_source.c | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c b/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c
-index 8ddad3a..bd4524e 100644
---- a/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c
-+++ b/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c
-@@ -1035,7 +1035,6 @@ static void get_ss_info_from_atombios(
- }
-
- *spread_spectrum_data = ss_data;
-- dm_free(ss_data);
- dm_free(ss_info);
- return;
-
---
-2.7.4
-