diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/hw_fifo_gm20b.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/hw_fifo_gm20b.h b/drivers/gpu/nvgpu/gm20b/hw_fifo_gm20b.h index 09e311ef..e0f41d34 100644 --- a/drivers/gpu/nvgpu/gm20b/hw_fifo_gm20b.h +++ b/drivers/gpu/nvgpu/gm20b/hw_fifo_gm20b.h | |||
@@ -390,6 +390,10 @@ static inline u32 fifo_engine_status_id_type_chid_v(void) | |||
390 | { | 390 | { |
391 | return 0x00000000; | 391 | return 0x00000000; |
392 | } | 392 | } |
393 | static inline u32 fifo_engine_status_id_type_tsgid_v(void) | ||
394 | { | ||
395 | return 0x00000001; | ||
396 | } | ||
393 | static inline u32 fifo_engine_status_ctx_status_v(u32 r) | 397 | static inline u32 fifo_engine_status_ctx_status_v(u32 r) |
394 | { | 398 | { |
395 | return (r >> 13) & 0x7; | 399 | return (r >> 13) & 0x7; |
@@ -474,6 +478,10 @@ static inline u32 fifo_pbdma_status_id_type_chid_v(void) | |||
474 | { | 478 | { |
475 | return 0x00000000; | 479 | return 0x00000000; |
476 | } | 480 | } |
481 | static inline u32 fifo_pbdma_status_id_type_tsgid_v(void) | ||
482 | { | ||
483 | return 0x00000001; | ||
484 | } | ||
477 | static inline u32 fifo_pbdma_status_chan_status_v(u32 r) | 485 | static inline u32 fifo_pbdma_status_chan_status_v(u32 r) |
478 | { | 486 | { |
479 | return (r >> 13) & 0x7; | 487 | return (r >> 13) & 0x7; |