aboutsummaryrefslogtreecommitdiffstats
path: root/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0259-drm-amd-display-Memory-leak-fix-during-disable.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0259-drm-amd-display-Memory-leak-fix-during-disable.patch')
-rw-r--r--meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0259-drm-amd-display-Memory-leak-fix-during-disable.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0259-drm-amd-display-Memory-leak-fix-during-disable.patch b/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0259-drm-amd-display-Memory-leak-fix-during-disable.patch
deleted file mode 100644
index 53c3a9c1..00000000
--- a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0259-drm-amd-display-Memory-leak-fix-during-disable.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From f0858dfa18917a5593d2c58fc33accc04c4bbfc5 Mon Sep 17 00:00:00 2001
-From: Leon Elazar <leon.elazar@amd.com>
-Date: Fri, 3 Mar 2017 14:37:08 -0500
-Subject: [PATCH 0259/4131] drm/amd/display: Memory leak fix during disable
-
-1.current_context memory wasn't released at
-dc_post_update_surfaces_to_stream during context swap.
-
-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/core/dc.c | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c
-index 302a10c..4fed2f2 100644
---- a/drivers/gpu/drm/amd/display/dc/core/dc.c
-+++ b/drivers/gpu/drm/amd/display/dc/core/dc.c
-@@ -1046,6 +1046,9 @@ bool dc_post_update_surfaces_to_stream(struct dc *dc)
- core_dc->hwss.set_bandwidth(core_dc, context, true);
-
- resource_validate_ctx_destruct(core_dc->current_context);
-+ if (core_dc->current_context)
-+ dm_free(core_dc->current_context);
-+
- core_dc->current_context = context;
-
- return true;
---
-2.7.4
-