xref: /linux/drivers/gpu/drm/nouveau/include/nvif/if0011.h (revision 03c11eb3b16dc0058589751dfd91f254be2be613)
1 /* SPDX-License-Identifier: MIT */
2 #ifndef __NVIF_IF0011_H__
3 #define __NVIF_IF0011_H__
4 
5 union nvif_conn_args {
6 	struct nvif_conn_v0 {
7 		__u8 version;
8 		__u8 id;	/* DCB connector table index. */
9 		__u8 pad02[6];
10 #define NVIF_CONN_V0_VGA       0x00
11 #define NVIF_CONN_V0_TV        0x01
12 #define NVIF_CONN_V0_DVI_I     0x02
13 #define NVIF_CONN_V0_DVI_D     0x03
14 #define NVIF_CONN_V0_LVDS      0x04
15 #define NVIF_CONN_V0_LVDS_SPWG 0x05
16 #define NVIF_CONN_V0_HDMI      0x06
17 #define NVIF_CONN_V0_DP        0x07
18 #define NVIF_CONN_V0_EDP       0x08
19 		__u8 type;
20 	} v0;
21 };
22 
23 union nvif_conn_event_args {
24 	struct nvif_conn_event_v0 {
25 		__u8 version;
26 #define NVIF_CONN_EVENT_V0_PLUG   0x01
27 #define NVIF_CONN_EVENT_V0_UNPLUG 0x02
28 #define NVIF_CONN_EVENT_V0_IRQ    0x04
29 		__u8 types;
30 		__u8 pad02[6];
31 	} v0;
32 };
33 #endif
34