123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
#ifndef __NVBIOS_CONN_H__
#define __NVBIOS_CONN_H__
enum dcb_connector_type {
DCB_CONNECTOR_VGA = 0x00,
DCB_CONNECTOR_DVI_A = 0x01,
DCB_CONNECTOR_POD_VGA = 0x02,
DCB_CONNECTOR_TV_0 = 0x10,
DCB_CONNECTOR_TV_1 = 0x11,
DCB_CONNECTOR_TV_2 = 0x12,
DCB_CONNECTOR_TV_3 = 0x13,
DCB_CONNECTOR_TV_SCART = 0x14,
DCB_CONNECTOR_TV_SCART_D = 0x16,
DCB_CONNECTOR_TV_DTERM = 0x17,
DCB_CONNECTOR_POD_TV_3 = 0x18,
DCB_CONNECTOR_POD_TV_1 = 0x19,
DCB_CONNECTOR_POD_TV_0 = 0x1a,
DCB_CONNECTOR_DVI_I_TV_1 = 0x20,
DCB_CONNECTOR_DVI_I_TV_0 = 0x21,
DCB_CONNECTOR_DVI_I_TV_2 = 0x22,
DCB_CONNECTOR_DVI_I = 0x30,
DCB_CONNECTOR_DVI_D = 0x31,
DCB_CONNECTOR_DVI_ADC = 0x32,
DCB_CONNECTOR_DMS59_0 = 0x38,
DCB_CONNECTOR_DMS59_1 = 0x39,
DCB_CONNECTOR_BNC = 0x3c,
DCB_CONNECTOR_LVDS = 0x40,
DCB_CONNECTOR_LVDS_SPWG = 0x41,
DCB_CONNECTOR_LVDS_REM = 0x42,
DCB_CONNECTOR_LVDS_SPWG_REM = 0x43,
DCB_CONNECTOR_TMDS = 0x45,
DCB_CONNECTOR_DP = 0x46,
DCB_CONNECTOR_eDP = 0x47,
DCB_CONNECTOR_mDP = 0x48,
DCB_CONNECTOR_DOCK_VGA_0 = 0x50,
DCB_CONNECTOR_DOCK_VGA_1 = 0x51,
DCB_CONNECTOR_DOCK_DVI_I_0 = 0x52,
DCB_CONNECTOR_DOCK_DVI_I_1 = 0x53,
DCB_CONNECTOR_DOCK_DVI_D_0 = 0x54,
DCB_CONNECTOR_DOCK_DVI_D_1 = 0x55,
DCB_CONNECTOR_DOCK_DP_0 = 0x56,
DCB_CONNECTOR_DOCK_DP_1 = 0x57,
DCB_CONNECTOR_DOCK_mDP_0 = 0x58,
DCB_CONNECTOR_DOCK_mDP_1 = 0x59,
DCB_CONNECTOR_HDMI_0 = 0x60,
DCB_CONNECTOR_HDMI_1 = 0x61,
DCB_CONNECTOR_SPDIF = 0x62,
DCB_CONNECTOR_HDMI_C = 0x63,
DCB_CONNECTOR_DMS59_DP0 = 0x64,
DCB_CONNECTOR_DMS59_DP1 = 0x65,
DCB_CONNECTOR_WFD = 0x70,
DCB_CONNECTOR_USB_C = 0x71,
DCB_CONNECTOR_NONE = 0xff
};
struct nvbios_connT {
};
u32 nvbios_connTe(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len);
u32 nvbios_connTp(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len,
struct nvbios_connT *info);
struct nvbios_connE {
u8 type;
u8 location;
u8 hpd;
u8 dp;
u8 di;
u8 sr;
u8 lcdid;
};
u32 nvbios_connEe(struct nvkm_bios *bios, u8 idx, u8 *ver, u8 *hdr);
u32 nvbios_connEp(struct nvkm_bios *bios, u8 idx, u8 *ver, u8 *hdr,
struct nvbios_connE *info);
#endif