summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/include/nvif/cla06f.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2016-11-05 06:05:14 +0300
committerBen Skeggs <bskeggs@redhat.com>2017-02-17 10:38:08 +0300
commitff9f29abf0ef4c43e696bef7621884518e6bdbda (patch)
tree3b714a11c482f36d04738aef78f5e2b1bd577f18 /drivers/gpu/drm/nouveau/include/nvif/cla06f.h
parent40cea73984a77acb714e1d4a60a47fdfb07b656f (diff)
downloadlinux-ff9f29abf0ef4c43e696bef7621884518e6bdbda.tar.xz
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/cla06f.h')
-rw-r--r--drivers/gpu/drm/nouveau/include/nvif/cla06f.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/include/nvif/cla06f.h b/drivers/gpu/drm/nouveau/include/nvif/cla06f.h
index 567123a8f874..2efa3d048bb9 100644
--- a/drivers/gpu/drm/nouveau/include/nvif/cla06f.h
+++ b/drivers/gpu/drm/nouveau/include/nvif/cla06f.h
@@ -26,4 +26,5 @@ struct kepler_channel_gpfifo_a_v0 {
};
#define NVA06F_V0_NTFY_NON_STALL_INTERRUPT 0x00
+#define NVA06F_V0_NTFY_KILLED 0x01
#endif