diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/hw_fifo_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/hw_fifo_gk20a.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/hw_fifo_gk20a.h b/drivers/gpu/nvgpu/gk20a/hw_fifo_gk20a.h index aa77d026..f549bac4 100644 --- a/drivers/gpu/nvgpu/gk20a/hw_fifo_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/hw_fifo_gk20a.h | |||
@@ -442,6 +442,10 @@ static inline u32 fifo_engine_status_id_type_chid_v(void) | |||
442 | { | 442 | { |
443 | return 0x00000000; | 443 | return 0x00000000; |
444 | } | 444 | } |
445 | static inline u32 fifo_engine_status_id_type_tsgid_v(void) | ||
446 | { | ||
447 | return 0x00000001; | ||
448 | } | ||
445 | static inline u32 fifo_engine_status_ctx_status_v(u32 r) | 449 | static inline u32 fifo_engine_status_ctx_status_v(u32 r) |
446 | { | 450 | { |
447 | return (r >> 13) & 0x7; | 451 | return (r >> 13) & 0x7; |
@@ -526,6 +530,10 @@ static inline u32 fifo_pbdma_status_id_type_chid_v(void) | |||
526 | { | 530 | { |
527 | return 0x00000000; | 531 | return 0x00000000; |
528 | } | 532 | } |
533 | static inline u32 fifo_pbdma_status_id_type_tsgid_v(void) | ||
534 | { | ||
535 | return 0x00000001; | ||
536 | } | ||
529 | static inline u32 fifo_pbdma_status_chan_status_v(u32 r) | 537 | static inline u32 fifo_pbdma_status_chan_status_v(u32 r) |
530 | { | 538 | { |
531 | return (r >> 13) & 0x7; | 539 | return (r >> 13) & 0x7; |