mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-13 16:06:35 +07:00
d40af7b1ae
Split out the primary plane support; this is now entirely separate from the CRTC support. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
17 lines
566 B
C
17 lines
566 B
C
#ifndef ARMADA_PLANE_H
|
|
#define ARMADA_PLANE_H
|
|
|
|
void armada_drm_plane_calc_addrs(u32 *addrs, struct drm_framebuffer *fb,
|
|
int x, int y);
|
|
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_plane_init(struct armada_plane *plane);
|
|
int armada_drm_primary_plane_init(struct drm_device *drm,
|
|
struct armada_plane *primary);
|
|
|
|
#endif
|