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.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/hw_ctxsw_prog_gm20b.h b/drivers/gpu/nvgpu/gm20b/hw_ctxsw_prog_gm20b.h
index 8783a0bc..e8675bea 100644
--- a/drivers/gpu/nvgpu/gm20b/hw_ctxsw_prog_gm20b.h
+++ b/drivers/gpu/nvgpu/gm20b/hw_ctxsw_prog_gm20b.h
@@ -238,4 +238,16 @@ static inline u32 ctxsw_prog_main_image_misc_options_verif_features_disabled_f(v
238{ 238{
239 return 0x0; 239 return 0x0;
240} 240}
241static inline u32 ctxsw_prog_main_image_preemption_options_o(void)
242{
243 return 0x00000060;
244}
245static inline u32 ctxsw_prog_main_image_preemption_options_control_f(u32 v)
246{
247 return (v & 0x3) << 0;
248}
249static inline u32 ctxsw_prog_main_image_preemption_options_control_cta_enabled_f(void)
250{
251 return 0x1;
252}
241#endif 253#endif