drm/nouveau/fault/gp100: expose MaxwellFaultBufferA
This nvclass exposes the replayable fault buffer, which will be used by SVM to manage GPU page faults. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
@@ -54,6 +54,8 @@
|
||||
|
||||
#define VOLTA_USERMODE_A 0x0000c361
|
||||
|
||||
#define MAXWELL_FAULT_BUFFER_A /* clb069.h */ 0x0000b069
|
||||
|
||||
#define NV03_CHANNEL_DMA /* cl506b.h */ 0x0000006b
|
||||
#define NV10_CHANNEL_DMA /* cl506b.h */ 0x0000006e
|
||||
#define NV17_CHANNEL_DMA /* cl506b.h */ 0x0000176e
|
||||
|
12
drivers/gpu/drm/nouveau/include/nvif/clb069.h
Normal file
12
drivers/gpu/drm/nouveau/include/nvif/clb069.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#ifndef __NVIF_CLB069_H__
|
||||
#define __NVIF_CLB069_H__
|
||||
struct nvif_clb069_v0 {
|
||||
__u8 version;
|
||||
__u8 pad01[3];
|
||||
__u32 entries;
|
||||
__u32 get;
|
||||
__u32 put;
|
||||
};
|
||||
|
||||
#define NVB069_V0_NTFY_FAULT 0x00
|
||||
#endif
|
@@ -13,6 +13,8 @@ struct nvkm_fault {
|
||||
struct nvkm_event event;
|
||||
|
||||
struct nvkm_notify nrpfb;
|
||||
|
||||
struct nvkm_device_oclass user;
|
||||
};
|
||||
|
||||
struct nvkm_fault_data {
|
||||
|
Reference in New Issue
Block a user