mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-23 11:06:48 +07:00
drm/amd/display: Move dm_plane_state definition to DAL header.
Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
2782488ae6
commit
cf5a4c11a1
@ -442,14 +442,6 @@ struct amdgpu_crtc {
|
||||
struct drm_pending_vblank_event *event;
|
||||
};
|
||||
|
||||
/* TODO rename to dc_plane_state */
|
||||
struct dc_surface;
|
||||
|
||||
struct dm_plane_state {
|
||||
struct drm_plane_state base;
|
||||
struct dc_surface* dc_surface;
|
||||
};
|
||||
|
||||
struct amdgpu_plane {
|
||||
struct drm_plane base;
|
||||
enum drm_plane_type plane_type;
|
||||
|
@ -33,6 +33,12 @@ struct amdgpu_display_manager;
|
||||
struct dc_validation_set;
|
||||
struct dc_surface;
|
||||
|
||||
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,
|
||||
|
Loading…
Reference in New Issue
Block a user