1e11110a5SYong Zhi /* SPDX-License-Identifier: GPL-2.0 */
2e11110a5SYong Zhi /* Copyright (C) 2018 Intel Corporation */
3e11110a5SYong Zhi 
4e11110a5SYong Zhi #ifndef __IPU3_PARAMS_H
5e11110a5SYong Zhi #define __IPU3_PARAMS_H
6e11110a5SYong Zhi 
7e11110a5SYong Zhi int ipu3_css_cfg_acc(struct ipu3_css *css, struct ipu3_uapi_flags *use,
8e11110a5SYong Zhi 		     struct imgu_abi_acc_param *acc,
9e11110a5SYong Zhi 		     struct imgu_abi_acc_param *acc_old,
10e11110a5SYong Zhi 		     struct ipu3_uapi_acc_param *acc_user);
11e11110a5SYong Zhi 
12e11110a5SYong Zhi int ipu3_css_cfg_vmem0(struct ipu3_css *css, struct ipu3_uapi_flags *use,
13e11110a5SYong Zhi 		       void *vmem0, void *vmem0_old,
14e11110a5SYong Zhi 		       struct ipu3_uapi_params *user);
15e11110a5SYong Zhi 
16e11110a5SYong Zhi int ipu3_css_cfg_dmem0(struct ipu3_css *css, struct ipu3_uapi_flags *use,
17e11110a5SYong Zhi 		       void *dmem0, void *dmem0_old,
18e11110a5SYong Zhi 		       struct ipu3_uapi_params *user);
19e11110a5SYong Zhi 
20e11110a5SYong Zhi void ipu3_css_cfg_gdc_table(struct imgu_abi_gdc_warp_param *gdc,
21e11110a5SYong Zhi 			    int frame_in_x, int frame_in_y,
22e11110a5SYong Zhi 			    int frame_out_x, int frame_out_y,
23e11110a5SYong Zhi 			    int env_w, int env_h);
24e11110a5SYong Zhi 
25e11110a5SYong Zhi #endif /*__IPU3_PARAMS_H */
26