hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/drivers/video/fbdev/omap2/omapfb/dss/dss.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * linux/drivers/video/omap2/dss/dss.h
34 *
....@@ -6,18 +7,6 @@
67 *
78 * Some code and ideas taken from drivers/video/omap/ driver
89 * by Imre Deak.
9
- *
10
- * This program is free software; you can redistribute it and/or modify it
11
- * under the terms of the GNU General Public License version 2 as published by
12
- * the Free Software Foundation.
13
- *
14
- * This program is distributed in the hope that it will be useful, but WITHOUT
15
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
16
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
17
- * more details.
18
- *
19
- * You should have received a copy of the GNU General Public License along with
20
- * this program. If not, see <http://www.gnu.org/licenses/>.
2110 */
2211
2312 #ifndef __OMAP2_DSS_H
....@@ -98,17 +87,6 @@
9887 enum dss_dsi_content_type {
9988 DSS_DSI_CONTENT_DCS,
10089 DSS_DSI_CONTENT_GENERIC,
101
-};
102
-
103
-enum dss_writeback_channel {
104
- DSS_WB_LCD1_MGR = 0,
105
- DSS_WB_LCD2_MGR = 1,
106
- DSS_WB_TV_MGR = 2,
107
- DSS_WB_OVL0 = 3,
108
- DSS_WB_OVL1 = 4,
109
- DSS_WB_OVL2 = 5,
110
- DSS_WB_OVL3 = 6,
111
- DSS_WB_LCD3_MGR = 7,
11290 };
11391
11492 enum dss_pll_id {
....@@ -214,7 +192,7 @@
214192 int dss_dsi_enable_pads(int dsi_id, unsigned lane_mask);
215193 void dss_dsi_disable_pads(int dsi_id, unsigned lane_mask);
216194 int dss_set_min_bus_tput(struct device *dev, unsigned long tput);
217
-int dss_debugfs_create_file(const char *name, void (*write)(struct seq_file *));
195
+void dss_debugfs_create_file(const char *name, void (*write)(struct seq_file *));
218196
219197 /* display */
220198 int dss_suspend_all_devices(void);
....@@ -414,15 +392,6 @@
414392 struct dispc_clock_info *cinfo);
415393 void dispc_set_tv_pclk(unsigned long pclk);
416394
417
-u32 dispc_wb_get_framedone_irq(void);
418
-bool dispc_wb_go_busy(void);
419
-void dispc_wb_go(void);
420
-void dispc_wb_enable(bool enable);
421
-bool dispc_wb_is_enabled(void);
422
-void dispc_wb_set_channel_in(enum dss_writeback_channel channel);
423
-int dispc_wb_setup(const struct omap_dss_writeback_info *wi,
424
- bool mem_to_mem, const struct omap_video_timings *timings);
425
-
426395 u32 dispc_read_irqstatus(void);
427396 void dispc_clear_irqstatus(u32 mask);
428397 u32 dispc_read_irqenable(void);
....@@ -471,10 +440,6 @@
471440
472441 int hdmi5_init_platform_driver(void) __init;
473442 void hdmi5_uninit_platform_driver(void);
474
-
475
-/* RFBI */
476
-int rfbi_init_platform_driver(void) __init;
477
-void rfbi_uninit_platform_driver(void);
478443
479444
480445 #ifdef CONFIG_FB_OMAP2_DSS_COLLECT_IRQ_STATS