diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/hw_gmmu_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/hw_gmmu_gk20a.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/hw_gmmu_gk20a.h b/drivers/gpu/nvgpu/gk20a/hw_gmmu_gk20a.h index 9b444036..0a21b6ca 100644 --- a/drivers/gpu/nvgpu/gk20a/hw_gmmu_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/hw_gmmu_gk20a.h | |||
@@ -182,6 +182,14 @@ static inline u32 gmmu_pte_address_sys_w(void) | |||
182 | { | 182 | { |
183 | return 0; | 183 | return 0; |
184 | } | 184 | } |
185 | static inline u32 gmmu_pte_address_vid_f(u32 v) | ||
186 | { | ||
187 | return (v & 0x1ffffff) << 4; | ||
188 | } | ||
189 | static inline u32 gmmu_pte_address_vid_w(void) | ||
190 | { | ||
191 | return 0; | ||
192 | } | ||
185 | static inline u32 gmmu_pte_vol_w(void) | 193 | static inline u32 gmmu_pte_vol_w(void) |
186 | { | 194 | { |
187 | return 1; | 195 | return 1; |