summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/hw_gmmu_gp10b.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/hw_gmmu_gp10b.h')
-rw-r--r--drivers/gpu/nvgpu/gp10b/hw_gmmu_gp10b.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/hw_gmmu_gp10b.h b/drivers/gpu/nvgpu/gp10b/hw_gmmu_gp10b.h
index 30e4307d..86870aea 100644
--- a/drivers/gpu/nvgpu/gp10b/hw_gmmu_gp10b.h
+++ b/drivers/gpu/nvgpu/gp10b/hw_gmmu_gp10b.h
@@ -70,6 +70,14 @@ static inline u32 gmmu_new_pde_aperture_video_memory_f(void)
70{ 70{
71 return 0x2; 71 return 0x2;
72} 72}
73static inline u32 gmmu_new_pde_aperture_sys_mem_coh_f(void)
74{
75 return 0x4;
76}
77static inline u32 gmmu_new_pde_aperture_sys_mem_ncoh_f(void)
78{
79 return 0x6;
80}
73static inline u32 gmmu_new_pde_address_sys_f(u32 v) 81static inline u32 gmmu_new_pde_address_sys_f(u32 v)
74{ 82{
75 return (v & 0xfffffff) << 8; 83 return (v & 0xfffffff) << 8;
@@ -118,6 +126,14 @@ static inline u32 gmmu_new_dual_pde_aperture_big_video_memory_f(void)
118{ 126{
119 return 0x2; 127 return 0x2;
120} 128}
129static inline u32 gmmu_new_dual_pde_aperture_big_sys_mem_coh_f(void)
130{
131 return 0x4;
132}
133static inline u32 gmmu_new_dual_pde_aperture_big_sys_mem_ncoh_f(void)
134{
135 return 0x6;
136}
121static inline u32 gmmu_new_dual_pde_address_big_sys_f(u32 v) 137static inline u32 gmmu_new_dual_pde_address_big_sys_f(u32 v)
122{ 138{
123 return (v & 0xfffffff) << 4; 139 return (v & 0xfffffff) << 4;
@@ -138,6 +154,14 @@ static inline u32 gmmu_new_dual_pde_aperture_small_video_memory_f(void)
138{ 154{
139 return 0x2; 155 return 0x2;
140} 156}
157static inline u32 gmmu_new_dual_pde_aperture_small_sys_mem_coh_f(void)
158{
159 return 0x4;
160}
161static inline u32 gmmu_new_dual_pde_aperture_small_sys_mem_ncoh_f(void)
162{
163 return 0x6;
164}
141static inline u32 gmmu_new_dual_pde_vol_small_w(void) 165static inline u32 gmmu_new_dual_pde_vol_small_w(void)
142{ 166{
143 return 2; 167 return 2;
@@ -238,6 +262,14 @@ static inline u32 gmmu_new_pte_aperture_video_memory_f(void)
238{ 262{
239 return 0x0; 263 return 0x0;
240} 264}
265static inline u32 gmmu_new_pte_aperture_sys_mem_coh_f(void)
266{
267 return 0x4;
268}
269static inline u32 gmmu_new_pte_aperture_sys_mem_ncoh_f(void)
270{
271 return 0x6;
272}
241static inline u32 gmmu_new_pte_read_only_w(void) 273static inline u32 gmmu_new_pte_read_only_w(void)
242{ 274{
243 return 0; 275 return 0;