oleavr-rgl-a500-mini-linux-.../drivers/video/sunxi/disp2/hdmi/hdmi_edid.h
Ole André Vadla Ravnås 169c65d57e Initial commit
2022-05-07 01:01:45 +02:00

38 lines
1.3 KiB
C
Executable file

/*
* linux-3.10/drivers/video/sunxi/disp2/hdmi/hdmi_edid.h
*
* Copyright (c) 2007-2017 Allwinnertech Co., Ltd.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*/
#ifndef __HDMI_EDID_H_
#define __HDMI_EDID_H_
#define Abort_Current_Operation 0
#define Special_Offset_Address_Read 1
#define Explicit_Offset_Address_Write 2
#define Implicit_Offset_Address_Write 3
#define Explicit_Offset_Address_Read 4
#define Implicit_Offset_Address_Read 5
#define Explicit_Offset_Address_E_DDC_Read 6
#define Implicit_Offset_Address_E_DDC_Read 7
extern u8 Device_Support_VIC[512];
extern s32 hdmi_edid_parse(void);
//extern s32 DDC_Read(char cmd,char pointer,char offset,int nbyte,char * pbuf);
//extern void DDC_Init(void);
//extern void send_ini_sequence(void);
extern u32 hdmi_edid_is_hdmi(void);
extern u32 hdmi_edid_is_yuv(void);
extern uintptr_t hdmi_edid_get_data(void);
#endif //__HDMI_EDID_H_