summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
diff options
context:
space:
mode:
authorAndrey Grodzovsky <Andrey.Grodzovsky@amd.com>2017-06-27 10:02:48 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 18:08:16 -0400
commit2782488ae6c0b53d57435aa6dc358e61550393d2 (patch)
tree054f2619baf805d8eabf03c8fb0cf5fd8a12a781 /drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
parente5f2038ef12cf5606ec3d7c79e2539cafcb409dd (diff)
downloadlinux-2782488ae6c0b53d57435aa6dc358e61550393d2.tar.gz
linux-2782488ae6c0b53d57435aa6dc358e61550393d2.tar.bz2
linux-2782488ae6c0b53d57435aa6dc358e61550393d2.zip
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
index 190905e08c38..2d34f9bb5d47 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
@@ -450,12 +450,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;