Commit dc0ea008 authored by Andrey Grodzovsky's avatar Andrey Grodzovsky Committed by Alex Deucher

drm/amd/display: Move dm_plane_state to DAL header.

Signed-off-by: default avatarAndrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Reviewed-by: default avatarHarry Wentland <Harry.Wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent cfe4645e
...@@ -36,6 +36,11 @@ struct dc_surface; ...@@ -36,6 +36,11 @@ struct dc_surface;
struct dc_stream; struct dc_stream;
struct dm_plane_state {
struct drm_plane_state base;
struct dc_surface *dc_surface;
};
struct dm_crtc_state { struct dm_crtc_state {
struct drm_crtc_state base; struct drm_crtc_state base;
struct dc_stream *dc_stream; struct dc_stream *dc_stream;
...@@ -43,12 +48,6 @@ struct dm_crtc_state { ...@@ -43,12 +48,6 @@ struct dm_crtc_state {
#define to_dm_crtc_state(x) container_of(x, struct dm_crtc_state, base) #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*/ /*TODO Jodan Hersen use the one in amdgpu_dm*/
int amdgpu_dm_plane_init(struct amdgpu_display_manager *dm, int amdgpu_dm_plane_init(struct amdgpu_display_manager *dm,
struct amdgpu_plane *aplane, struct amdgpu_plane *aplane,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment