Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / drivers / gpu / drm / nouveau / include / nvkm / subdev / bios / dp.h
blobdf34b41838d60090d85e2fdf1aecc976abffb288
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __NVBIOS_DP_H__
3 #define __NVBIOS_DP_H__
4 struct nvbios_dpout {
5 u16 type;
6 u16 mask;
7 u8 flags;
8 u32 script[5];
9 u32 lnkcmp;
12 u16 nvbios_dpout_parse(struct nvkm_bios *, u8 idx,
13 u8 *ver, u8 *hdr, u8 *cnt, u8 *len,
14 struct nvbios_dpout *);
15 u16 nvbios_dpout_match(struct nvkm_bios *, u16 type, u16 mask,
16 u8 *ver, u8 *hdr, u8 *cnt, u8 *len,
17 struct nvbios_dpout *);
19 struct nvbios_dpcfg {
20 u8 pc;
21 u8 dc;
22 u8 pe;
23 u8 tx_pu;
26 u16
27 nvbios_dpcfg_parse(struct nvkm_bios *, u16 outp, u8 idx,
28 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_dpcfg *);
29 u16
30 nvbios_dpcfg_match(struct nvkm_bios *, u16 outp, u8 pc, u8 vs, u8 pe,
31 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_dpcfg *);
32 #endif