xref: /linux/drivers/gpu/drm/nouveau/include/nvif/ifc00d.h (revision 48dea9a700c8728cc31a1dd44588b97578de86ee)
1 #ifndef __NVIF_IFC00D_H__
2 #define __NVIF_IFC00D_H__
3 #include "if000c.h"
4 
5 struct gp100_vmm_vn {
6 	/* nvif_vmm_vX ... */
7 };
8 
9 struct gp100_vmm_v0 {
10 	/* nvif_vmm_vX ... */
11 	__u8  version;
12 	__u8  fault_replay;
13 };
14 
15 struct gp100_vmm_map_vn {
16 	/* nvif_vmm_map_vX ... */
17 };
18 
19 struct gp100_vmm_map_v0 {
20 	/* nvif_vmm_map_vX ... */
21 	__u8  version;
22 	__u8  vol;
23 	__u8  ro;
24 	__u8  priv;
25 	__u8  kind;
26 };
27 
28 #define GP100_VMM_VN_FAULT_REPLAY                         NVIF_VMM_V0_MTHD(0x00)
29 #define GP100_VMM_VN_FAULT_CANCEL                         NVIF_VMM_V0_MTHD(0x01)
30 
31 struct gp100_vmm_fault_replay_vn {
32 };
33 
34 struct gp100_vmm_fault_cancel_v0 {
35 	__u8  version;
36 	__u8  hub;
37 	__u8  gpc;
38 	__u8  client;
39 	__u8  pad04[4];
40 	__u64 inst;
41 };
42 #endif
43