aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.14.71/0643-drm-amd-display-fix-locking-in-apply_ctx_for_surface.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/0643-drm-amd-display-fix-locking-in-apply_ctx_for_surface.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/0643-drm-amd-display-fix-locking-in-apply_ctx_for_surface.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/0643-drm-amd-display-fix-locking-in-apply_ctx_for_surface.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/0643-drm-amd-display-fix-locking-in-apply_ctx_for_surface.patch
deleted file mode 100644
index ef323bb8..00000000
--- a/common/recipes-kernel/linux/linux-yocto-4.14.71/0643-drm-amd-display-fix-locking-in-apply_ctx_for_surface.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From 8a6f316e0bacf8651999db510590e16a87c0e040 Mon Sep 17 00:00:00 2001
-From: Eric Yang <Eric.Yang2@amd.com>
-Date: Thu, 20 Jul 2017 16:17:17 -0400
-Subject: [PATCH 0643/4131] drm/amd/display: fix locking in
- apply_ctx_for_surface
-
-Signed-off-by: Eric Yang <Eric.Yang2@amd.com>
-Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
-Acked-by: Harry Wentland <Harry.Wentland@amd.com>
-Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
----
- drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 8 +++++++-
- 1 file changed, 7 insertions(+), 1 deletion(-)
-
-diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
-index d607ca9..6db78d9 100644
---- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
-+++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
-@@ -1696,8 +1696,14 @@ static void dcn10_apply_ctx_for_surface(
- */
-
- if (pipe_ctx->surface && !old_pipe_ctx->surface) {
-- if (pipe_ctx->mpcc->opp_id != 0xf && pipe_ctx->tg->inst == be_idx)
-+ if (pipe_ctx->mpcc->opp_id != 0xf && pipe_ctx->tg->inst == be_idx) {
- dcn10_power_down_fe(dc, pipe_ctx->pipe_idx);
-+ /*
-+ * power down fe will unlock when calling reset, need
-+ * to lock it back here. Messy, need rework.
-+ */
-+ pipe_ctx->tg->funcs->lock(pipe_ctx->tg);
-+ }
- }
-
-
---
-2.7.4
-