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
blob: 7cbda7d563c74788d8dc3a8cf162abcd50af4b07 (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
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