diff options
author | Andrey Grodzovsky <Andrey.Grodzovsky@amd.com> | 2017-06-27 10:02:48 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-09-26 18:08:16 -0400 |
commit | 2782488ae6c0b53d57435aa6dc358e61550393d2 (patch) | |
tree | 054f2619baf805d8eabf03c8fb0cf5fd8a12a781 /drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | |
parent | e5f2038ef12cf5606ec3d7c79e2539cafcb409dd (diff) |
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.h | 6 |
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 { | |||
450 | struct dc_surface* dc_surface; | 450 | struct dc_surface* dc_surface; |
451 | }; | 451 | }; |
452 | 452 | ||
453 | static inline struct dm_plane_state * | ||
454 | to_amdgpu_plane_state(struct drm_plane_state *state) | ||
455 | { | ||
456 | return container_of(state, struct dm_plane_state, base); | ||
457 | } | ||
458 | |||
459 | struct amdgpu_plane { | 453 | struct amdgpu_plane { |
460 | struct drm_plane base; | 454 | struct drm_plane base; |
461 | enum drm_plane_type plane_type; | 455 | enum drm_plane_type plane_type; |