aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Grodzovsky <Andrey.Grodzovsky@amd.com>2017-06-28 11:05:00 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 18:08:22 -0400
commitdc0ea008168bfbc61a7915eb6ffb1cc48ce5e9cc (patch)
treeb3758fa33740cbe84c0393447b33aadab2262a6b
parentcfe4645e17f8dbe680c35c439d000313f2648482 (diff)
drm/amd/display: Move dm_plane_state to DAL header.
Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com> Reviewed-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.h b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.h
index 109172576499..bf20d57a99e0 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.h
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.h
@@ -36,6 +36,11 @@ struct dc_surface;
36struct dc_stream; 36struct dc_stream;
37 37
38 38
39struct dm_plane_state {
40 struct drm_plane_state base;
41 struct dc_surface *dc_surface;
42};
43
39struct dm_crtc_state { 44struct dm_crtc_state {
40 struct drm_crtc_state base; 45 struct drm_crtc_state base;
41 struct dc_stream *dc_stream; 46 struct dc_stream *dc_stream;
@@ -43,12 +48,6 @@ struct dm_crtc_state {
43 48
44#define to_dm_crtc_state(x) container_of(x, struct dm_crtc_state, base) 49#define to_dm_crtc_state(x) container_of(x, struct dm_crtc_state, base)
45 50
46struct dm_plane_state {
47 struct drm_plane_state base;
48 struct dc_surface *dc_surface;
49};
50
51
52/*TODO Jodan Hersen use the one in amdgpu_dm*/ 51/*TODO Jodan Hersen use the one in amdgpu_dm*/
53int amdgpu_dm_plane_init(struct amdgpu_display_manager *dm, 52int amdgpu_dm_plane_init(struct amdgpu_display_manager *dm,
54 struct amdgpu_plane *aplane, 53 struct amdgpu_plane *aplane,