aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/include/nvif/cl906f.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2016-11-05 13:05:14 +1000
committerBen Skeggs <bskeggs@redhat.com>2017-02-17 17:38:08 +1000
commitff9f29abf0ef4c43e696bef7621884518e6bdbda (patch)
tree3b714a11c482f36d04738aef78f5e2b1bd577f18 /drivers/gpu/drm/nouveau/include/nvif/cl906f.h
parentdrm/nouveau/fifo/g84-: rename non-stall interrupt event (diff)
downloadlinux-dev-ff9f29abf0ef4c43e696bef7621884518e6bdbda.tar.xz
linux-dev-ff9f29abf0ef4c43e696bef7621884518e6bdbda.zip
drm/nouveau/fifo/gf100-: provide notification to user if channel is killed
There are instances (such as non-recoverable GPU page faults) where NVKM decides that a channel's context is no longer viable, and will be removed from the runlist. This commit notifies the owner of the channel when this happens, so it has the opportunity to take some kind of recovery action instead of hanging. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/include/nvif/cl906f.h')
-rw-r--r--drivers/gpu/drm/nouveau/include/nvif/cl906f.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/include/nvif/cl906f.h b/drivers/gpu/drm/nouveau/include/nvif/cl906f.h
index e9302ec5cbfa..a2d5410a491b 100644
--- a/drivers/gpu/drm/nouveau/include/nvif/cl906f.h
+++ b/drivers/gpu/drm/nouveau/include/nvif/cl906f.h
@@ -11,4 +11,5 @@ struct fermi_channel_gpfifo_v0 {
};
#define NV906F_V0_NTFY_NON_STALL_INTERRUPT 0x00
+#define NV906F_V0_NTFY_KILLED 0x01
#endif