• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 #if defined(CONFIG_DISP2_SUNXI_DEBUG)
12 #include <linux/kernel.h>
13 #include <linux/module.h>
14 #include <linux/slab.h>
15 #include <linux/debugfs.h>
16 #include <linux/uaccess.h>
17 #include "de/bsp_display.h"
18 #include "de/disp_tv.h"
19 #include "dev_disp.h"
20 
21 int dispdbg_init(void);
22 int dispdbg_exit(void);
23 
24 extern struct disp_layer *disp_get_layer(u32 disp, u32 chn, u32 layer_id);
25 extern struct disp_layer *disp_get_layer_1(u32 disp, u32 layer_id);
26 extern struct disp_smbl *disp_get_smbl(u32 disp);
27 extern struct disp_enhance *disp_get_enhance(u32 disp);
28 extern struct disp_capture *disp_get_capture(u32 disp);
29 extern struct disp_device *disp_get_lcd(u32 disp);
30 extern struct disp_manager *disp_get_layer_manager(u32 disp);
31 extern unsigned int composer_dump(char *buf);
32 extern int disp_suspend(struct device *dev);
33 extern int disp_resume(struct device *dev);
34 #if defined(CONFIG_SUNXI_MPP)
35 extern struct dentry *debugfs_mpp_root;
36 #endif /*endif CONFIG_SUNXI_MPP */
37 #endif /*endif CONFIG_DISP2_SUNXI_DEBUG */
38 
39