summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/hw_ctxsw_prog_gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/hw_ctxsw_prog_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/hw_ctxsw_prog_gk20a.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/hw_ctxsw_prog_gk20a.h b/drivers/gpu/nvgpu/gk20a/hw_ctxsw_prog_gk20a.h
index 747566f0..3d9095a8 100644
--- a/drivers/gpu/nvgpu/gk20a/hw_ctxsw_prog_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/hw_ctxsw_prog_gk20a.h
@@ -214,6 +214,10 @@ static inline u32 ctxsw_prog_main_image_priv_access_map_config_mode_v(u32 r)
214{ 214{
215 return (r >> 0) & 0x3; 215 return (r >> 0) & 0x3;
216} 216}
217static inline u32 ctxsw_prog_main_image_priv_access_map_config_mode_allow_all_f(void)
218{
219 return 0x0;
220}
217static inline u32 ctxsw_prog_main_image_priv_access_map_config_mode_use_map_f(void) 221static inline u32 ctxsw_prog_main_image_priv_access_map_config_mode_use_map_f(void)
218{ 222{
219 return 0x2; 223 return 0x2;