brintos

brintos / linux-shallow public Read only

0
0
Text · 791 B · 085e0ae Raw
46 lines · c
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 027#define NVIF_CHAN_V0_INST_APER_HOST 128#define NVIF_CHAN_V0_INST_APER_NCOH 229#define NVIF_CHAN_V0_INST_APER_INST 0xff30		__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 0x0041#define NVIF_CHAN_EVENT_V0_KILLED         0x0142		__u8 type;43	} v0;44};45#endif46