diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/hw_fifo_gp10b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/hw_fifo_gp10b.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/hw_fifo_gp10b.h b/drivers/gpu/nvgpu/gp10b/hw_fifo_gp10b.h index 89037a7c..8370d4c6 100644 --- a/drivers/gpu/nvgpu/gp10b/hw_fifo_gp10b.h +++ b/drivers/gpu/nvgpu/gp10b/hw_fifo_gp10b.h | |||
@@ -434,6 +434,10 @@ static inline u32 fifo_engine_status_ctx_status_v(u32 r) | |||
434 | { | 434 | { |
435 | return (r >> 13) & 0x7; | 435 | return (r >> 13) & 0x7; |
436 | } | 436 | } |
437 | static inline u32 fifo_engine_status_ctx_status_invalid_v(void) | ||
438 | { | ||
439 | return 0x00000000; | ||
440 | } | ||
437 | static inline u32 fifo_engine_status_ctx_status_valid_v(void) | 441 | static inline u32 fifo_engine_status_ctx_status_valid_v(void) |
438 | { | 442 | { |
439 | return 0x00000001; | 443 | return 0x00000001; |