aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0587-drm-amdgpu-add-semaphore-to-connector-for-mst-syncro.patch
blob: 18922a65d8cc123704628b635011b2b3cd202091 (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
From 67c41a1d4ed9c0c182453e17a4591af75c80ee76 Mon Sep 17 00:00:00 2001
From: Mykola Lysenko <Mykola.Lysenko@amd.com>
Date: Wed, 9 Dec 2015 20:30:37 +0800
Subject: [PATCH 0587/1110] drm/amdgpu: add semaphore to connector for mst
 syncronization

When MST branch got disconnected we need to wait to delete
MST connector, and make sure that reset mode occured on that connector

Signed-off-by: Mykola Lysenko <Mykola.Lysenko@amd.com>
Reviewed-by: Jordan Lazare <Jordan.Lazare@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
index d7b9c93..17811f5 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
@@ -557,6 +557,7 @@ struct amdgpu_connector {
 	struct amdgpu_connector *mst_port;
 	bool is_mst_connector;
 	struct amdgpu_encoder *mst_encoder;
+	struct semaphore mst_sem;
 };
 
 /* TODO: start to use this struct and remove same field from base one */
-- 
2.7.4