summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/hw_ctxsw_prog_gm20b.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/hw_ctxsw_prog_gm20b.h')
-rw-r--r--drivers/gpu/nvgpu/gm20b/hw_ctxsw_prog_gm20b.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/hw_ctxsw_prog_gm20b.h b/drivers/gpu/nvgpu/gm20b/hw_ctxsw_prog_gm20b.h
index c9bf4b4f..535b6c6e 100644
--- a/drivers/gpu/nvgpu/gm20b/hw_ctxsw_prog_gm20b.h
+++ b/drivers/gpu/nvgpu/gm20b/hw_ctxsw_prog_gm20b.h
@@ -74,6 +74,10 @@ static inline u32 ctxsw_prog_main_image_patch_count_o(void)
74{ 74{
75 return 0x00000010; 75 return 0x00000010;
76} 76}
77static inline u32 ctxsw_prog_main_image_context_id_o(void)
78{
79 return 0x000000f0;
80}
77static inline u32 ctxsw_prog_main_image_patch_adr_lo_o(void) 81static inline u32 ctxsw_prog_main_image_patch_adr_lo_o(void)
78{ 82{
79 return 0x00000014; 83 return 0x00000014;
@@ -458,8 +462,4 @@ static inline u32 ctxsw_prog_main_image_preemption_options_control_cta_enabled_f
458{ 462{
459 return 0x1; 463 return 0x1;
460} 464}
461static inline u32 ctxsw_prog_main_image_context_id_o(void)
462{
463 return 0x000000f0;
464}
465#endif 465#endif