Ben Skeggs
3534821df5
drm/nouveau/fifo/gk104-: directly use new recovery code for mmu faults
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2017-02-17 17:38:14 +10:00
Ben Skeggs
21e6de29bb
drm/nouveau/fifo: add an api for initiating channel recovery
...
This will be used by callers outside of fifo interrupt handlers.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2017-02-17 17:38:12 +10:00
Ben Skeggs
ff9f29abf0
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 >
2017-02-17 17:38:08 +10:00
Ben Skeggs
e774055a07
drm/nouveau/fifo: tidy up channel creation event code
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2017-02-17 17:38:08 +10:00
Ben Skeggs
98ac3f061a
drm/nouveau/fifo/gk104-: subclass func
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-05-20 14:43:04 +10:00
Ben Skeggs
13de7f4629
drm/nouveau/fifo: convert to new-style nvkm_engine
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:46 +10:00
Ben Skeggs
8f0649b5c6
drm/nouveau/fifo: convert user classes to new-style nvkm_object
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:40 +10:00
Ben Skeggs
9a65a38c45
drm/nouveau/fifo: split user classes out from engine implementations
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:40 +10:00