diff options
Diffstat (limited to 'drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_fifo_gv11b.h')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_fifo_gv11b.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_fifo_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_fifo_gv11b.h index dbcb02c8..bd2f628c 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_fifo_gv11b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_fifo_gv11b.h | |||
@@ -630,4 +630,24 @@ static inline u32 fifo_cfg0_pbdma_fault_id_v(u32 r) | |||
630 | { | 630 | { |
631 | return (r >> 16) & 0xff; | 631 | return (r >> 16) & 0xff; |
632 | } | 632 | } |
633 | static inline u32 fifo_fb_iface_r(void) | ||
634 | { | ||
635 | return 0x000026f0; | ||
636 | } | ||
637 | static inline u32 fifo_fb_iface_control_v(u32 r) | ||
638 | { | ||
639 | return (r >> 0) & 0x1; | ||
640 | } | ||
641 | static inline u32 fifo_fb_iface_control_enable_f(void) | ||
642 | { | ||
643 | return 0x1; | ||
644 | } | ||
645 | static inline u32 fifo_fb_iface_status_v(u32 r) | ||
646 | { | ||
647 | return (r >> 4) & 0x1; | ||
648 | } | ||
649 | static inline u32 fifo_fb_iface_status_enabled_f(void) | ||
650 | { | ||
651 | return 0x10; | ||
652 | } | ||
633 | #endif | 653 | #endif |