]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amd/display: Move dm_plane_state to DAL header.
authorAndrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Wed, 28 Jun 2017 15:05:00 +0000 (11:05 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 22:08:22 +0000 (18:08 -0400)
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>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.h

index 10917257649938e4deadc2e77d915de5b6e04edd..bf20d57a99e08614ac3d93a38661370499cb13de 100644 (file)
@@ -36,6 +36,11 @@ struct dc_surface;
 struct  dc_stream;
 
 
+struct dm_plane_state {
+       struct drm_plane_state base;
+       struct dc_surface *dc_surface;
+};
+
 struct dm_crtc_state {
        struct drm_crtc_state base;
        struct dc_stream *dc_stream;
@@ -43,12 +48,6 @@ struct dm_crtc_state {
 
 #define to_dm_crtc_state(x)    container_of(x, struct dm_crtc_state, base)
 
-struct dm_plane_state {
-       struct drm_plane_state base;
-       struct dc_surface *dc_surface;
-};
-
-
 /*TODO Jodan Hersen use the one in amdgpu_dm*/
 int amdgpu_dm_plane_init(struct amdgpu_display_manager *dm,
                        struct amdgpu_plane *aplane,