aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/1153-drm-amdgpu-make-DC-target-const.patch
blob: 780c027df692113a7ab94d25e9bde4be587c93d6 (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
From bb6b7acbe2332e8a3e54c68d2e26bf1a5487c1d4 Mon Sep 17 00:00:00 2001
From: Mykola Lysenko <Mykola.Lysenko@amd.com>
Date: Wed, 9 Dec 2015 20:33:45 +0800
Subject: [PATCH 1153/1565] drm/amdgpu: make DC target const

Change-Id: Iad045b7c0241f837a94b571f50385b979678a4cc
Signed-off-by: Mykola Lysenko <Mykola.Lysenko@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 6ebb150..9eada8e2 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
@@ -539,6 +539,7 @@ struct amdgpu_connector {
 	 * The 'current' sink is in dc_link->sink. */
 	const struct dc_sink *dc_sink;
 	const struct dc_link *dc_link;
+	const struct dc_target *target;
 	void *con_priv;
 	bool dac_load_detect;
 	bool detected_by_load; /* if the connection status was determined by load */
-- 
1.9.1