aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0754-drm-amd-dal-Clean-up-MST-stream-on-our-ASIC.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0754-drm-amd-dal-Clean-up-MST-stream-on-our-ASIC.patch')
-rw-r--r--common/recipes-kernel/linux/files/0754-drm-amd-dal-Clean-up-MST-stream-on-our-ASIC.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0754-drm-amd-dal-Clean-up-MST-stream-on-our-ASIC.patch b/common/recipes-kernel/linux/files/0754-drm-amd-dal-Clean-up-MST-stream-on-our-ASIC.patch
new file mode 100644
index 00000000..a71d6ce0
--- /dev/null
+++ b/common/recipes-kernel/linux/files/0754-drm-amd-dal-Clean-up-MST-stream-on-our-ASIC.patch
@@ -0,0 +1,31 @@
+From c98fdd2d0fd1255d6c921999155aea1f0cfd423f Mon Sep 17 00:00:00 2001
+From: Harry Wentland <harry.wentland@amd.com>
+Date: Mon, 1 Feb 2016 16:15:36 -0500
+Subject: [PATCH 0754/1110] drm/amd/dal: Clean up MST stream on our ASIC
+
+Make sure we call HWSS to clean up our ASIC's MST
+registers. deallocate_mst_payload will guard calls
+into drm_mst.
+
+Signed-off-by: Harry Wentland <harry.wentland@amd.com>
+---
+ drivers/gpu/drm/amd/dal/dc/core/dc_link.c | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/dal/dc/core/dc_link.c b/drivers/gpu/drm/amd/dal/dc/core/dc_link.c
+index b180cf6..2928724 100644
+--- a/drivers/gpu/drm/amd/dal/dc/core/dc_link.c
++++ b/drivers/gpu/drm/amd/dal/dc/core/dc_link.c
+@@ -1634,8 +1634,7 @@ void core_link_disable_stream(
+ {
+ struct dc *dc = stream->ctx->dc;
+
+- if (stream->signal == SIGNAL_TYPE_DISPLAY_PORT_MST &&
+- link->public.type == dc_connection_mst_branch)
++ if (stream->signal == SIGNAL_TYPE_DISPLAY_PORT_MST)
+ deallocate_mst_payload(stream);
+
+ dc->hwss.disable_stream(stream);
+--
+2.7.4
+