diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/hw_gr_gm20b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/hw_gr_gm20b.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/hw_gr_gm20b.h b/drivers/gpu/nvgpu/gm20b/hw_gr_gm20b.h index eb6cf4ad..21a46d33 100644 --- a/drivers/gpu/nvgpu/gm20b/hw_gr_gm20b.h +++ b/drivers/gpu/nvgpu/gm20b/hw_gr_gm20b.h | |||
@@ -3210,6 +3210,14 @@ static inline u32 gr_gpcs_pri_mmu_debug_ctrl_r(void) | |||
3210 | { | 3210 | { |
3211 | return 0x004188b0; | 3211 | return 0x004188b0; |
3212 | } | 3212 | } |
3213 | static inline u32 gr_gpcs_pri_mmu_debug_ctrl_debug_v(u32 r) | ||
3214 | { | ||
3215 | return (r >> 16) & 0x1; | ||
3216 | } | ||
3217 | static inline u32 gr_gpcs_pri_mmu_debug_ctrl_debug_enabled_v(void) | ||
3218 | { | ||
3219 | return 0x00000001; | ||
3220 | } | ||
3213 | static inline u32 gr_gpcs_pri_mmu_debug_wr_r(void) | 3221 | static inline u32 gr_gpcs_pri_mmu_debug_wr_r(void) |
3214 | { | 3222 | { |
3215 | return 0x004188b4; | 3223 | return 0x004188b4; |