diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/hw_ctxsw_prog_gp10b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/hw_ctxsw_prog_gp10b.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/hw_ctxsw_prog_gp10b.h b/drivers/gpu/nvgpu/gp10b/hw_ctxsw_prog_gp10b.h index 79890f3c..0892f12e 100644 --- a/drivers/gpu/nvgpu/gp10b/hw_ctxsw_prog_gp10b.h +++ b/drivers/gpu/nvgpu/gp10b/hw_ctxsw_prog_gp10b.h | |||
@@ -238,4 +238,20 @@ static inline u32 ctxsw_prog_main_image_misc_options_verif_features_disabled_f(v | |||
238 | { | 238 | { |
239 | return 0x0; | 239 | return 0x0; |
240 | } | 240 | } |
241 | static inline u32 ctxsw_prog_main_image_graphics_preemption_options_o(void) | ||
242 | { | ||
243 | return 0x00000080; | ||
244 | } | ||
245 | static inline u32 ctxsw_prog_main_image_graphics_preemption_options_control_f(u32 v) | ||
246 | { | ||
247 | return (v & 0x3) << 0; | ||
248 | } | ||
249 | static inline u32 ctxsw_prog_main_image_graphics_preemption_options_control_gfxp_f(void) | ||
250 | { | ||
251 | return 0x1; | ||
252 | } | ||
253 | static inline u32 ctxsw_prog_main_image_full_preemption_ptr_o(void) | ||
254 | { | ||
255 | return 0x00000068; | ||
256 | } | ||
241 | #endif | 257 | #endif |