diff options
author | Andrey Grodzovsky <Andrey.Grodzovsky@amd.com> | 2017-06-28 11:05:00 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-09-26 18:08:22 -0400 |
commit | dc0ea008168bfbc61a7915eb6ffb1cc48ce5e9cc (patch) | |
tree | b3758fa33740cbe84c0393447b33aadab2262a6b | |
parent | cfe4645e17f8dbe680c35c439d000313f2648482 (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.h | 11 |
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; | |||
36 | struct dc_stream; | 36 | struct dc_stream; |
37 | 37 | ||
38 | 38 | ||
39 | struct dm_plane_state { | ||
40 | struct drm_plane_state base; | ||
41 | struct dc_surface *dc_surface; | ||
42 | }; | ||
43 | |||
39 | struct dm_crtc_state { | 44 | struct 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 | ||
46 | struct 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*/ |
53 | int amdgpu_dm_plane_init(struct amdgpu_display_manager *dm, | 52 | int amdgpu_dm_plane_init(struct amdgpu_display_manager *dm, |
54 | struct amdgpu_plane *aplane, | 53 | struct amdgpu_plane *aplane, |