summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/hw_fb_gp10b.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/hw_fb_gp10b.h')
-rw-r--r--drivers/gpu/nvgpu/gp10b/hw_fb_gp10b.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/hw_fb_gp10b.h b/drivers/gpu/nvgpu/gp10b/hw_fb_gp10b.h
index 2078bdca..1fee19b1 100644
--- a/drivers/gpu/nvgpu/gp10b/hw_fb_gp10b.h
+++ b/drivers/gpu/nvgpu/gp10b/hw_fb_gp10b.h
@@ -426,10 +426,18 @@ static inline u32 fb_mmu_debug_ctrl_debug_v(u32 r)
426{ 426{
427 return (r >> 16) & 0x1; 427 return (r >> 16) & 0x1;
428} 428}
429static inline u32 fb_mmu_debug_ctrl_debug_m(void)
430{
431 return 0x1 << 16;
432}
429static inline u32 fb_mmu_debug_ctrl_debug_enabled_v(void) 433static inline u32 fb_mmu_debug_ctrl_debug_enabled_v(void)
430{ 434{
431 return 0x00000001; 435 return 0x00000001;
432} 436}
437static inline u32 fb_mmu_debug_ctrl_debug_disabled_v(void)
438{
439 return 0x00000000;
440}
433static inline u32 fb_mmu_vpr_info_r(void) 441static inline u32 fb_mmu_vpr_info_r(void)
434{ 442{
435 return 0x00100cd0; 443 return 0x00100cd0;