summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv11b/hw_gmmu_gv11b.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/hw_gmmu_gv11b.h')
-rw-r--r--drivers/gpu/nvgpu/gv11b/hw_gmmu_gv11b.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/hw_gmmu_gv11b.h b/drivers/gpu/nvgpu/gv11b/hw_gmmu_gv11b.h
index 955626a6..8c324225 100644
--- a/drivers/gpu/nvgpu/gv11b/hw_gmmu_gv11b.h
+++ b/drivers/gpu/nvgpu/gv11b/hw_gmmu_gv11b.h
@@ -242,6 +242,14 @@ static inline u32 gmmu_new_pte_address_sys_w(void)
242{ 242{
243 return 0; 243 return 0;
244} 244}
245static inline u32 gmmu_new_pte_address_vid_f(u32 v)
246{
247 return (v & 0xffffff) << 8;
248}
249static inline u32 gmmu_new_pte_address_vid_w(void)
250{
251 return 0;
252}
245static inline u32 gmmu_new_pte_vol_w(void) 253static inline u32 gmmu_new_pte_vol_w(void)
246{ 254{
247 return 0; 255 return 0;
@@ -1110,7 +1118,7 @@ static inline u32 gmmu_pte_kind_c32_ms2_2cbr_v(void)
1110{ 1118{
1111 return 0x000000de; 1119 return 0x000000de;
1112} 1120}
1113static inline u32 gmmu_pte_kind_c32_ms2_2cra_v(void) 1121static inline u32 gmmu_pte_kind_c32_ms2_4cbra_v(void)
1114{ 1122{
1115 return 0x000000cc; 1123 return 0x000000cc;
1116} 1124}
@@ -1174,7 +1182,7 @@ static inline u32 gmmu_pte_kind_c64_ms2_2cbr_v(void)
1174{ 1182{
1175 return 0x000000ec; 1183 return 0x000000ec;
1176} 1184}
1177static inline u32 gmmu_pte_kind_c64_ms2_2cra_v(void) 1185static inline u32 gmmu_pte_kind_c64_ms2_2cbra_v(void)
1178{ 1186{
1179 return 0x000000cd; 1187 return 0x000000cd;
1180} 1188}