diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/hw_fifo_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/hw_fifo_gk20a.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/hw_fifo_gk20a.h b/drivers/gpu/nvgpu/gk20a/hw_fifo_gk20a.h index c5c95cdf..4d54c89f 100644 --- a/drivers/gpu/nvgpu/gk20a/hw_fifo_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/hw_fifo_gk20a.h | |||
@@ -478,6 +478,10 @@ static inline u32 fifo_engine_status_ctx_status_v(u32 r) | |||
478 | { | 478 | { |
479 | return (r >> 13) & 0x7; | 479 | return (r >> 13) & 0x7; |
480 | } | 480 | } |
481 | static inline u32 fifo_engine_status_ctx_status_invalid_v(void) | ||
482 | { | ||
483 | return 0x00000000; | ||
484 | } | ||
481 | static inline u32 fifo_engine_status_ctx_status_valid_v(void) | 485 | static inline u32 fifo_engine_status_ctx_status_valid_v(void) |
482 | { | 486 | { |
483 | return 0x00000001; | 487 | return 0x00000001; |