summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/armada/armada_plane.h
blob: 98280beaaa44028419d89016d2543a46d64a9acb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef ARMADA_PLANE_H
#define ARMADA_PLANE_H

void armada_drm_plane_calc(struct drm_plane_state *state, u32 addrs[3],
	u16 pitches[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