aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amdfalconx86/recipes-kernel/linux/linux-yocto/0894-drm-amdgpu-add-semaphore-to-connector-for-mst-syncro.patch
blob: 676d4549e4c85d72988eb89104a51c64870ef53e (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 7eb8ec7bf42d99f62fc18b49442b7451de5b6dd1 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 0894/1050] 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

Change-Id: I9d90d4fe722b34989456b41db2effe37e9d8a940
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 50c5838..45754bf 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
@@ -556,6 +556,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 */
-- 
1.9.1