diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2016-11-05 06:05:14 +0300 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2017-02-17 10:38:08 +0300 |
commit | ff9f29abf0ef4c43e696bef7621884518e6bdbda (patch) | |
tree | 3b714a11c482f36d04738aef78f5e2b1bd577f18 /drivers/gpu/drm/nouveau/include/nvif/cl906f.h | |
parent | 40cea73984a77acb714e1d4a60a47fdfb07b656f (diff) | |
download | linux-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/cl906f.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/include/nvif/cl906f.h | 1 |
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 |