summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/hw_gmmu_gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/hw_gmmu_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/hw_gmmu_gk20a.h8
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}
185static inline u32 gmmu_pte_address_vid_f(u32 v)
186{
187 return (v & 0x1ffffff) << 4;
188}
189static inline u32 gmmu_pte_address_vid_w(void)
190{
191 return 0;
192}
185static inline u32 gmmu_pte_vol_w(void) 193static inline u32 gmmu_pte_vol_w(void)
186{ 194{
187 return 1; 195 return 1;