b4df3ba0d7
armada_drm_plane_calc_addrs() gets all its information from the plane state, so it makes sense to pass the plane state pointer down into this function, rather than extracting the information in identical ways, sometimes a couple of layers up. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
16 lines
556 B
C
16 lines
556 B
C
#ifndef ARMADA_PLANE_H
|
|
#define ARMADA_PLANE_H
|
|
|
|
void armada_drm_plane_calc_addrs(struct drm_plane_state *state, u32 addrs[3]);
|
|
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
|