1 #ifndef __MODESET_H_INCLUDED__ 2 #define __MODESET_H_INCLUDED__ 3 4 struct sp_dev; 5 struct sp_crtc; 6 7 int initialize_screens(struct sp_dev* dev); 8 9 10 struct sp_plane* get_sp_plane(struct sp_dev* dev, struct sp_crtc* crtc); 11 void put_sp_plane(struct sp_plane* plane); 12 13 int set_sp_plane(struct sp_dev* dev, struct sp_plane* plane, 14 struct sp_crtc* crtc, int x, int y); 15 16 #ifdef USE_ATOMIC_API 17 int set_sp_plane_pset(struct sp_dev* dev, struct sp_plane* plane, 18 drmModePropertySetPtr pset, struct sp_crtc* crtc, int x, int y); 19 #endif 20 21 #endif /* __MODESET_H_INCLUDED__ */ 22