aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0895-drm-amdgpu-make-DC-target-const.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0895-drm-amdgpu-make-DC-target-const.patch')
-rw-r--r--common/recipes-kernel/linux/files/0895-drm-amdgpu-make-DC-target-const.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0895-drm-amdgpu-make-DC-target-const.patch b/common/recipes-kernel/linux/files/0895-drm-amdgpu-make-DC-target-const.patch
new file mode 100644
index 00000000..51ca3349
--- /dev/null
+++ b/common/recipes-kernel/linux/files/0895-drm-amdgpu-make-DC-target-const.patch
@@ -0,0 +1,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
+