diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/hw_fb_gm20b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/hw_fb_gm20b.h | 8 |
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 5ec4a46e..d68f6479 100644 --- a/drivers/gpu/nvgpu/gm20b/hw_fb_gm20b.h +++ b/drivers/gpu/nvgpu/gm20b/hw_fb_gm20b.h | |||
@@ -94,6 +94,14 @@ static inline u32 fb_mmu_ctrl_use_pdb_big_page_size_false_f(void) | |||
94 | { | 94 | { |
95 | return 0x0; | 95 | return 0x0; |
96 | } | 96 | } |
97 | static inline u32 fb_mmu_ctrl_use_full_comp_tag_line_v(u32 r) | ||
98 | { | ||
99 | return (r >> 12) & 0x1; | ||
100 | } | ||
101 | static inline u32 fb_mmu_ctrl_use_full_comp_tag_line_true_f(void) | ||
102 | { | ||
103 | return 0x1000; | ||
104 | } | ||
97 | static inline u32 fb_priv_mmu_phy_secure_r(void) | 105 | static inline u32 fb_priv_mmu_phy_secure_r(void) |
98 | { | 106 | { |
99 | return 0x00100ce4; | 107 | return 0x00100ce4; |