aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0754-drm-amd-dal-Clean-up-MST-stream-on-our-ASIC.patch
blob: a71d6ce0b3e87262fed3ccf7cf8483cfd887705f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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