aboutsummaryrefslogtreecommitdiffstats
blob: 549995967567fea0e599517e112d5646bb05e182 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef __MODESET_H_INCLUDED__
#define __MODESET_H_INCLUDED__

struct sp_dev;
struct sp_crtc;

int initialize_screens(struct sp_dev *dev);


struct sp_plane *get_sp_plane(struct sp_dev *dev, struct sp_crtc *crtc);
void put_sp_plane(struct sp_plane *plane);

int set_sp_plane(struct sp_dev *dev, struct sp_plane *plane,
		struct sp_crtc *crtc, int x, int y);

int set_sp_plane_pset(struct sp_dev *dev, struct sp_plane *plane,
		drmModeAtomicReqPtr pset, struct sp_crtc *crtc, int x, int y);

#endif /* __MODESET_H_INCLUDED__ */