Warning: This file is not a C or C++ file. It does not have highlighting.

1/* SPDX-License-Identifier: MIT */
2#ifndef __NVIF_IF0020_H__
3#define __NVIF_IF0020_H__
4
5union nvif_chan_args {
6 struct nvif_chan_v0 {
7 __u8 version;
8 __u8 namelen;
9 __u8 runlist;
10 __u8 runq;
11 __u8 priv;
12 __u8 pad05;
13 __u16 devm;
14 __u64 vmm;
15
16 __u64 ctxdma;
17 __u64 offset;
18 __u64 length;
19
20 __u64 huserd;
21 __u64 ouserd;
22
23 __u32 token;
24 __u16 chid;
25 __u8 pad3e;
26#define NVIF_CHAN_V0_INST_APER_VRAM 0
27#define NVIF_CHAN_V0_INST_APER_HOST 1
28#define NVIF_CHAN_V0_INST_APER_NCOH 2
29#define NVIF_CHAN_V0_INST_APER_INST 0xff
30 __u8 aper;
31 __u64 inst;
32
33 __u8 name[];
34 } v0;
35};
36
37union nvif_chan_event_args {
38 struct nvif_chan_event_v0 {
39 __u8 version;
40#define NVIF_CHAN_EVENT_V0_NON_STALL_INTR 0x00
41#define NVIF_CHAN_EVENT_V0_KILLED 0x01
42 __u8 type;
43 } v0;
44};
45#endif
46

Warning: This file is not a C or C++ file. It does not have highlighting.

source code of linux/drivers/gpu/drm/nouveau/include/nvif/if0020.h