1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __NVBIOS_DCB_H__
3 #define __NVBIOS_DCB_H__
5 DCB_OUTPUT_ANALOG = 0x0,
12 DCB_OUTPUT_UNUSED = 0xf,
17 int index; /* may not be raw dcb index if merging has happened */
20 enum dcb_output_type type;
28 bool duallink_possible;
39 bool use_straps_for_mode;
40 bool use_acpi_for_edid;
41 bool use_power_scripts;
44 bool has_component_output;
56 bool i2c_upper_default;
59 u16 dcb_table(struct nvkm_bios *, u8 *ver, u8 *hdr, u8 *ent, u8 *len);
60 u16 dcb_outp(struct nvkm_bios *, u8 idx, u8 *ver, u8 *len);
61 u16 dcb_outp_parse(struct nvkm_bios *, u8 idx, u8 *, u8 *,
63 u16 dcb_outp_match(struct nvkm_bios *, u16 type, u16 mask, u8 *, u8 *,
65 int dcb_outp_foreach(struct nvkm_bios *, void *data, int (*exec)
66 (struct nvkm_bios *, void *, int index, u16 entry));