2018-07-30 18:52:34 +08:00
|
|
|
#ifndef ARMADA_PLANE_H
|
|
|
|
#define ARMADA_PLANE_H
|
|
|
|
|
2018-07-30 18:52:34 +08:00
|
|
|
void armada_drm_plane_calc(struct drm_plane_state *state, u32 addrs[2][3],
|
|
|
|
u16 pitches[3], bool interlaced);
|
2018-07-30 18:52:34 +08:00
|
|
|
int armada_drm_plane_prepare_fb(struct drm_plane *plane,
|
|
|
|
struct drm_plane_state *state);
|
|
|
|
void armada_drm_plane_cleanup_fb(struct drm_plane *plane,
|
|
|
|
struct drm_plane_state *old_state);
|
|
|
|
int armada_drm_plane_atomic_check(struct drm_plane *plane,
|
|
|
|
struct drm_plane_state *state);
|
|
|
|
int armada_drm_primary_plane_init(struct drm_device *drm,
|
2018-07-30 18:53:06 +08:00
|
|
|
struct drm_plane *primary);
|
2018-07-30 18:52:34 +08:00
|
|
|
|
|
|
|
#endif
|