diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/hw_gr_gm20b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/hw_gr_gm20b.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/hw_gr_gm20b.h b/drivers/gpu/nvgpu/gm20b/hw_gr_gm20b.h index a941eb59..4a712394 100644 --- a/drivers/gpu/nvgpu/gm20b/hw_gr_gm20b.h +++ b/drivers/gpu/nvgpu/gm20b/hw_gr_gm20b.h | |||
@@ -3562,6 +3562,10 @@ static inline u32 gr_gpcs_pri_mmu_debug_ctrl_r(void) | |||
3562 | { | 3562 | { |
3563 | return 0x004188b0; | 3563 | return 0x004188b0; |
3564 | } | 3564 | } |
3565 | static inline u32 gr_gpcs_pri_mmu_debug_ctrl_debug_m(void) | ||
3566 | { | ||
3567 | return 0x1 << 16; | ||
3568 | } | ||
3565 | static inline u32 gr_gpcs_pri_mmu_debug_ctrl_debug_v(u32 r) | 3569 | static inline u32 gr_gpcs_pri_mmu_debug_ctrl_debug_v(u32 r) |
3566 | { | 3570 | { |
3567 | return (r >> 16) & 0x1; | 3571 | return (r >> 16) & 0x1; |
@@ -3570,6 +3574,18 @@ static inline u32 gr_gpcs_pri_mmu_debug_ctrl_debug_enabled_v(void) | |||
3570 | { | 3574 | { |
3571 | return 0x00000001; | 3575 | return 0x00000001; |
3572 | } | 3576 | } |
3577 | static inline u32 gr_gpcs_pri_mmu_debug_ctrl_debug_enabled_f(void) | ||
3578 | { | ||
3579 | return 0x10000; | ||
3580 | } | ||
3581 | static inline u32 gr_gpcs_pri_mmu_debug_ctrl_debug_disabled_v(void) | ||
3582 | { | ||
3583 | return 0x00000000; | ||
3584 | } | ||
3585 | static inline u32 gr_gpcs_pri_mmu_debug_ctrl_debug_disabled_f(void) | ||
3586 | { | ||
3587 | return 0x0; | ||
3588 | } | ||
3573 | static inline u32 gr_gpcs_pri_mmu_debug_wr_r(void) | 3589 | static inline u32 gr_gpcs_pri_mmu_debug_wr_r(void) |
3574 | { | 3590 | { |
3575 | return 0x004188b4; | 3591 | return 0x004188b4; |