1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00

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>
This commit is contained in:
Andrey Grodzovsky 2017-06-28 11:05:00 -04:00 committed by Alex Deucher
parent cfe4645e17
commit dc0ea00816

View 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,