1 /* 2 * Allwinner SoCs display driver. 3 * 4 * This file is licensed under the terms of the GNU General Public 5 * License version 2. This program is licensed "as is" without any 6 * warranty of any kind, whether express or implied. 7 */ 8 9 /** 10 * All Winner Tech, All Right Reserved. 2014-2015 Copyright (c) 11 * 12 * File name : de_smbl.h 13 * 14 * Description : display engine 2.0 smbl basic function declaration 15 * 16 * History : 2014/05/15 vito cheng v0.1 Initial version 17 * 18 */ 19 20 #ifndef _DE_SMBL_H_ 21 #define _DE_SMBL_H_ 22 23 #include "de_rtmx.h" 24 #include "de_smbl_type.h" 25 26 s32 de_smbl_tasklet(u32 sel); 27 s32 de_smbl_apply(u32 sel, struct disp_smbl_info *info); 28 s32 de_smbl_update_regs(u32 sel); 29 s32 de_smbl_sync(u32 sel); 30 s32 de_smbl_get_status(u32 sel); 31 s32 de_smbl_init(uintptr_t reg_base); 32 s32 de_smbl_exit(void); 33 s32 de_smbl_get_reg_blocks(u32 disp, 34 struct de_reg_block **blks, u32 *blk_num); 35 36 extern u16 pwrsv_lgc_tab[1408][256]; 37 extern u8 smbl_filter_coeff[272]; 38 extern u8 hist_thres_drc[8]; 39 extern u8 hist_thres_pwrsv[8]; 40 extern u8 drc_filter[IEP_LH_PWRSV_NUM]; 41 extern u32 csc_bypass_coeff[12]; 42 43 #endif /* #ifndef _DE_SMBL_H_ */ 44