forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/drivers/gpu/drm/omapdrm/dss/hdmi4_core.h
....@@ -1,19 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * HDMI header definition for OMAP4 HDMI core IP
34 *
45 * Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com/
5
- *
6
- * This program is free software; you can redistribute it and/or modify it
7
- * under the terms of the GNU General Public License version 2 as published by
8
- * the Free Software Foundation.
9
- *
10
- * This program is distributed in the hope that it will be useful, but WITHOUT
11
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13
- * more details.
14
- *
15
- * You should have received a copy of the GNU General Public License along with
16
- * this program. If not, see <http://www.gnu.org/licenses/>.
176 */
187
198 #ifndef _HDMI4_CORE_H_
....@@ -260,7 +249,9 @@
260249 u32 generic_pkt_repeat;
261250 };
262251
263
-int hdmi4_read_edid(struct hdmi_core_data *core, u8 *edid, int len);
252
+int hdmi4_core_ddc_init(struct hdmi_core_data *core);
253
+int hdmi4_core_ddc_read(void *data, u8 *buf, unsigned int block, size_t len);
254
+
264255 void hdmi4_configure(struct hdmi_core_data *core, struct hdmi_wp_data *wp,
265256 struct hdmi_config *cfg);
266257 void hdmi4_core_dump(struct hdmi_core_data *core, struct seq_file *s);