summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/hw_fb_gm20b.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/hw_fb_gm20b.h')
-rw-r--r--drivers/gpu/nvgpu/gm20b/hw_fb_gm20b.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/hw_fb_gm20b.h b/drivers/gpu/nvgpu/gm20b/hw_fb_gm20b.h
index a753074e..214306cb 100644
--- a/drivers/gpu/nvgpu/gm20b/hw_fb_gm20b.h
+++ b/drivers/gpu/nvgpu/gm20b/hw_fb_gm20b.h
@@ -214,10 +214,18 @@ static inline u32 fb_mmu_debug_ctrl_debug_v(u32 r)
214{ 214{
215 return (r >> 16) & 0x1; 215 return (r >> 16) & 0x1;
216} 216}
217static inline u32 fb_mmu_debug_ctrl_debug_m(void)
218{
219 return 0x1 << 16;
220}
217static inline u32 fb_mmu_debug_ctrl_debug_enabled_v(void) 221static inline u32 fb_mmu_debug_ctrl_debug_enabled_v(void)
218{ 222{
219 return 0x00000001; 223 return 0x00000001;
220} 224}
225static inline u32 fb_mmu_debug_ctrl_debug_disabled_v(void)
226{
227 return 0x00000000;
228}
221static inline u32 fb_mmu_vpr_info_r(void) 229static inline u32 fb_mmu_vpr_info_r(void)
222{ 230{
223 return 0x00100cd0; 231 return 0x00100cd0;