aboutsummaryrefslogtreecommitdiffstats
blob: 7e965743248dbd9834760840aceb445bd04ec232 (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,
		drmModePropertySetPtr pset, struct sp_crtc *crtc, int x, int y);

#endif /* __MODESET_H_INCLUDED__ */