treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / gpu / drm / nouveau / include / nvif / ifc00d.h
blob4cabd613a2805b56a57893955cf08b62149f5225
1 #ifndef __NVIF_IFC00D_H__
2 #define __NVIF_IFC00D_H__
3 #include "if000c.h"
5 struct gp100_vmm_vn {
6 /* nvif_vmm_vX ... */
7 };
9 struct gp100_vmm_v0 {
10 /* nvif_vmm_vX ... */
11 __u8 version;
12 __u8 fault_replay;
15 struct gp100_vmm_map_vn {
16 /* nvif_vmm_map_vX ... */
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;
28 #define GP100_VMM_VN_FAULT_REPLAY NVIF_VMM_V0_MTHD(0x00)
29 #define GP100_VMM_VN_FAULT_CANCEL NVIF_VMM_V0_MTHD(0x01)
31 struct gp100_vmm_fault_replay_vn {
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;
42 #endif