1 #ifndef __NVKM_FAULT_H__
2 #define __NVKM_FAULT_H__
3 #include <core/subdev.h>
4 #include <core/notify.h>
7 const struct nvkm_fault_func
*func
;
8 struct nvkm_subdev subdev
;
10 struct nvkm_fault_buffer
*buffer
[2];
13 struct nvkm_event event
;
15 struct nvkm_notify nrpfb
;
17 struct nvkm_device_oclass user
;
20 struct nvkm_fault_data
{
33 int gp100_fault_new(struct nvkm_device
*, int, struct nvkm_fault
**);
34 int gp10b_fault_new(struct nvkm_device
*, int, struct nvkm_fault
**);
35 int gv100_fault_new(struct nvkm_device
*, int, struct nvkm_fault
**);
36 int tu102_fault_new(struct nvkm_device
*, int, struct nvkm_fault
**);