diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/hw_gmmu_gp10b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/hw_gmmu_gp10b.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/hw_gmmu_gp10b.h b/drivers/gpu/nvgpu/gp10b/hw_gmmu_gp10b.h index 844cb142..9ce9448e 100644 --- a/drivers/gpu/nvgpu/gp10b/hw_gmmu_gp10b.h +++ b/drivers/gpu/nvgpu/gp10b/hw_gmmu_gp10b.h | |||
@@ -198,6 +198,18 @@ static inline u32 gmmu_new_pte_valid_false_f(void) | |||
198 | { | 198 | { |
199 | return 0x0; | 199 | return 0x0; |
200 | } | 200 | } |
201 | static inline u32 gmmu_new_pte_privilege_w(void) | ||
202 | { | ||
203 | return 0; | ||
204 | } | ||
205 | static inline u32 gmmu_new_pte_privilege_true_f(void) | ||
206 | { | ||
207 | return 0x20; | ||
208 | } | ||
209 | static inline u32 gmmu_new_pte_privilege_false_f(void) | ||
210 | { | ||
211 | return 0x0; | ||
212 | } | ||
201 | static inline u32 gmmu_new_pte_address_sys_f(u32 v) | 213 | static inline u32 gmmu_new_pte_address_sys_f(u32 v) |
202 | { | 214 | { |
203 | return (v & 0xfffffff) << 8; | 215 | return (v & 0xfffffff) << 8; |