1 /* 2 * Allwinner SoCs display driver. 3 * 4 * Copyright (C) 2016 Allwinner. 5 * 6 * This file is licensed under the terms of the GNU General Public 7 * License version 2. This program is licensed "as is" without any 8 * warranty of any kind, whether express or implied. 9 */ 10 11 12 #ifndef __DISP_CAPTURE_H__ 13 #define __DISP_CAPTURE_H__ 14 15 #include "disp_private.h" 16 17 s32 disp_capture_start(struct disp_capture *cptr); 18 s32 disp_capture_stop(struct disp_capture *cptr); 19 s32 disp_capture_commit(struct disp_capture *cptr, 20 struct disp_capture_info *info); 21 s32 disp_capture_set_manager(struct disp_capture *cptr, 22 struct disp_manager *mgr); 23 s32 disp_capture_unset_manager(struct disp_capture *cptr); 24 s32 disp_capture_init(struct disp_capture *cptr); 25 s32 disp_capture_exit(struct disp_capture *cptr); 26 s32 disp_capture_sync(struct disp_capture *cptr); 27 s32 disp_init_capture(struct disp_bsp_init_para *para); 28 s32 disp_capture_shadow_protect(struct disp_capture *capture, bool protect); 29 s32 disp_capture_apply(struct disp_capture *cptr); 30 s32 disp_capture_force_apply(struct disp_capture *cptr); 31 s32 disp_capture_suspend(struct disp_capture *cptr); 32 s32 disp_capture_resume(struct disp_capture *cptr); 33 s32 disp_capture_query(struct disp_capture *cptr); 34 35 #endif 36