aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2693-drm-amdgpu-Remove-unused-dc_stream-from-amdgpu_crtc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2693-drm-amdgpu-Remove-unused-dc_stream-from-amdgpu_crtc.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2693-drm-amdgpu-Remove-unused-dc_stream-from-amdgpu_crtc.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2693-drm-amdgpu-Remove-unused-dc_stream-from-amdgpu_crtc.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2693-drm-amdgpu-Remove-unused-dc_stream-from-amdgpu_crtc.patch
new file mode 100644
index 00000000..7cbda7d5
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2693-drm-amdgpu-Remove-unused-dc_stream-from-amdgpu_crtc.patch
@@ -0,0 +1,32 @@
+From 80e4bea70c52e50ddc05caf0faf4fe4fe3c0f759 Mon Sep 17 00:00:00 2001
+From: Harry Wentland <harry.wentland@amd.com>
+Date: Tue, 7 Nov 2017 19:33:55 -0500
+Subject: [PATCH 2693/4131] drm/amdgpu: Remove unused dc_stream from
+ amdgpu_crtc
+
+It's no longer used. In fact, there is no more dc_stream object.
+
+Change-Id: If9726d566544d306c8d5208a2820a30d566d6cc1
+Signed-off-by: Harry Wentland <harry.wentland@amd.com>
+Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
+index 4863954..20d9168 100644
+--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
+@@ -443,8 +443,6 @@ struct amdgpu_crtc {
+ #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 12, 0)
+ uint32_t flip_flags;
+ #endif
+- /* After Set Mode stream will be non-NULL */
+- const struct dc_stream_state *stream;
+ struct drm_pending_vblank_event *event;
+ };
+
+--
+2.7.4
+