aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0546-drm-amd-display-Clean-up-unused-function.patch
blob: 7f76c1f15b315033cdaaa96a11d5d84d6daefe5c (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 aa7ba4cdbb9bace43e6c5e7172c618b40874ddd7 Mon Sep 17 00:00:00 2001
From: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Date: Tue, 27 Jun 2017 10:02:48 -0400
Subject: [PATCH 0546/4131] drm/amd/display: Clean up unused function.

Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Reviewed-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
index 06cdf51..e6eeb67 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
@@ -454,12 +454,6 @@ struct dm_plane_state {
 	struct  dc_surface* dc_surface;
 };
 
-static inline struct dm_plane_state *
-to_amdgpu_plane_state(struct drm_plane_state *state)
-{
-	return container_of(state, struct dm_plane_state, base);
-}
-
 struct amdgpu_plane {
 	struct drm_plane base;
 	enum drm_plane_type plane_type;
-- 
2.7.4