diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/fifo_gv11b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/fifo_gv11b.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/fifo_gv11b.h b/drivers/gpu/nvgpu/gv11b/fifo_gv11b.h index 07a39da0..ab56b876 100644 --- a/drivers/gpu/nvgpu/gv11b/fifo_gv11b.h +++ b/drivers/gpu/nvgpu/gv11b/fifo_gv11b.h | |||
@@ -18,6 +18,20 @@ | |||
18 | 18 | ||
19 | #define FIFO_INVAL_PBDMA_ID ((u32)~0) | 19 | #define FIFO_INVAL_PBDMA_ID ((u32)~0) |
20 | 20 | ||
21 | /* engine context-switch request occurred while the engine was in reset */ | ||
22 | #define SCHED_ERROR_CODE_ENGINE_RESET 0x00000005 | ||
23 | |||
24 | /* | ||
25 | * ERROR_CODE_BAD_TSG indicates that Host encountered a badly formed TSG header | ||
26 | * or a badly formed channel type runlist entry in the runlist. This is typically | ||
27 | * caused by encountering a new TSG entry in the middle of a TSG definition. | ||
28 | * A channel type entry having wrong runqueue selector can also cause this. | ||
29 | * Additionally this error code can indicate when a channel is encountered on | ||
30 | * the runlist which is outside of a TSG. | ||
31 | */ | ||
32 | #define SCHED_ERROR_CODE_BAD_TSG 0x00000020 | ||
33 | |||
34 | |||
21 | struct gpu_ops; | 35 | struct gpu_ops; |
22 | void gv11b_init_fifo(struct gpu_ops *gops); | 36 | void gv11b_init_fifo(struct gpu_ops *gops); |
23 | #endif | 37 | #endif |