xref: /OK3568_Linux_fs/external/camera_engine_rkaiq/rkisp_demo/demo/drmDsp/modeset.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
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