xref: /linux/drivers/gpu/drm/nouveau/include/nvif/if0011.h (revision 200323768787a0ee02e01c35c1aff13dc9d77dde)
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 	} v0;
11 };
12 
13 union nvif_conn_event_args {
14 	struct nvif_conn_event_v0 {
15 		__u8 version;
16 #define NVIF_CONN_EVENT_V0_PLUG   0x01
17 #define NVIF_CONN_EVENT_V0_UNPLUG 0x02
18 #define NVIF_CONN_EVENT_V0_IRQ    0x04
19 		__u8 types;
20 		__u8 pad02[6];
21 	} v0;
22 };
23 
24 #define NVIF_CONN_V0_HPD_STATUS 0x00000000
25 
26 union nvif_conn_hpd_status_args {
27 	struct nvif_conn_hpd_status_v0 {
28 		__u8 version;
29 		__u8 support;
30 		__u8 present;
31 		__u8 pad03[5];
32 	} v0;
33 };
34 #endif
35