aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amdfalconx86/recipes-kernel/linux/linux-yocto/0895-drm-amdgpu-make-DC-target-const.patch
blob: 51ca33497c3587538ab3ae733e442cfcfa969516 (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 b86e0808e960c486c46cf9148b0d25837a153141 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 0895/1050] 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 45754bf..27c3fee 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