Linux 4.1-rc5
[deliverable/linux.git] / drivers / gpu / drm / nouveau / include / nvif / event.h
CommitLineData
79ca2770
BS
1#ifndef __NVIF_EVENT_H__
2#define __NVIF_EVENT_H__
3
8ec2a6ec
BS
4struct nvif_notify_req_v0 {
5 __u8 version;
6 __u8 reply;
7 __u8 pad02[5];
8#define NVIF_NOTIFY_V0_ROUTE_NVIF 0x00
9 __u8 route;
10 __u64 token; /* must be unique */
11 __u8 data[]; /* request data (below) */
12};
13
14struct nvif_notify_rep_v0 {
15 __u8 version;
16 __u8 pad01[6];
17 __u8 route;
18 __u64 token;
19 __u8 data[]; /* reply data (below) */
20};
21
79ca2770 22struct nvif_notify_head_req_v0 {
8ec2a6ec 23 /* nvif_notify_req ... */
79ca2770
BS
24 __u8 version;
25 __u8 head;
8ec2a6ec 26 __u8 pad02[6];
79ca2770
BS
27};
28
29struct nvif_notify_head_rep_v0 {
8ec2a6ec 30 /* nvif_notify_rep ... */
79ca2770 31 __u8 version;
8ec2a6ec 32 __u8 pad01[7];
79ca2770
BS
33};
34
35struct nvif_notify_conn_req_v0 {
8ec2a6ec 36 /* nvif_notify_req ... */
79ca2770
BS
37 __u8 version;
38#define NVIF_NOTIFY_CONN_V0_PLUG 0x01
39#define NVIF_NOTIFY_CONN_V0_UNPLUG 0x02
40#define NVIF_NOTIFY_CONN_V0_IRQ 0x04
41#define NVIF_NOTIFY_CONN_V0_ANY 0x07
42 __u8 mask;
43 __u8 conn;
8ec2a6ec 44 __u8 pad03[5];
79ca2770
BS
45};
46
47struct nvif_notify_conn_rep_v0 {
8ec2a6ec 48 /* nvif_notify_rep ... */
79ca2770
BS
49 __u8 version;
50 __u8 mask;
8ec2a6ec 51 __u8 pad02[6];
79ca2770
BS
52};
53
867920f8
BS
54struct nvif_notify_uevent_req {
55 /* nvif_notify_req ... */
56};
57
58struct nvif_notify_uevent_rep {
59 /* nvif_notify_rep ... */
60};
61
79ca2770 62#endif
This page took 0.12513 seconds and 5 git commands to generate.