diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/hw_fifo_gm20b.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/hw_fifo_gm20b.h b/drivers/gpu/nvgpu/gm20b/hw_fifo_gm20b.h index 8aa1c6a4..01e01695 100644 --- a/drivers/gpu/nvgpu/gm20b/hw_fifo_gm20b.h +++ b/drivers/gpu/nvgpu/gm20b/hw_fifo_gm20b.h | |||
@@ -322,6 +322,10 @@ static inline u32 fifo_intr_pbdma_id_status_f(u32 v, u32 i) | |||
322 | { | 322 | { |
323 | return (v & 0x1) << (0 + i*1); | 323 | return (v & 0x1) << (0 + i*1); |
324 | } | 324 | } |
325 | static inline u32 fifo_intr_pbdma_id_status_v(u32 r, u32 i) | ||
326 | { | ||
327 | return (r >> (0 + i*1)) & 0x1; | ||
328 | } | ||
325 | static inline u32 fifo_intr_pbdma_id_status__size_1_v(void) | 329 | static inline u32 fifo_intr_pbdma_id_status__size_1_v(void) |
326 | { | 330 | { |
327 | return 0x00000001; | 331 | return 0x00000001; |