summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/nvgpu/gp10b/hw_ram_gp10b.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/hw_ram_gp10b.h b/drivers/gpu/nvgpu/gp10b/hw_ram_gp10b.h
index 6ddff281..dea53f96 100644
--- a/drivers/gpu/nvgpu/gp10b/hw_ram_gp10b.h
+++ b/drivers/gpu/nvgpu/gp10b/hw_ram_gp10b.h
@@ -78,6 +78,14 @@ static inline u32 ram_in_page_dir_base_vol_true_f(void)
78{ 78{
79 return 0x4; 79 return 0x4;
80} 80}
81static inline u32 ram_in_page_dir_base_fault_replay_tex_f(u32 v)
82{
83 return (v & 0x1) << 4;
84}
85static inline u32 ram_in_page_dir_base_fault_replay_tex_m(void)
86{
87 return 0x1 << 4;
88}
81static inline u32 ram_in_page_dir_base_fault_replay_tex_w(void) 89static inline u32 ram_in_page_dir_base_fault_replay_tex_w(void)
82{ 90{
83 return 128; 91 return 128;
@@ -86,6 +94,14 @@ static inline u32 ram_in_page_dir_base_fault_replay_tex_true_f(void)
86{ 94{
87 return 0x10; 95 return 0x10;
88} 96}
97static inline u32 ram_in_page_dir_base_fault_replay_gcc_f(u32 v)
98{
99 return (v & 0x1) << 5;
100}
101static inline u32 ram_in_page_dir_base_fault_replay_gcc_m(void)
102{
103 return 0x1 << 5;
104}
89static inline u32 ram_in_page_dir_base_fault_replay_gcc_w(void) 105static inline u32 ram_in_page_dir_base_fault_replay_gcc_w(void)
90{ 106{
91 return 128; 107 return 128;