diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/hw_fifo_gm20b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/hw_fifo_gm20b.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/hw_fifo_gm20b.h b/drivers/gpu/nvgpu/gm20b/hw_fifo_gm20b.h index 2b8bd9ce..09e311ef 100644 --- a/drivers/gpu/nvgpu/gm20b/hw_fifo_gm20b.h +++ b/drivers/gpu/nvgpu/gm20b/hw_fifo_gm20b.h | |||
@@ -346,10 +346,18 @@ static inline u32 fifo_preempt_type_channel_f(void) | |||
346 | { | 346 | { |
347 | return 0x0; | 347 | return 0x0; |
348 | } | 348 | } |
349 | static inline u32 fifo_preempt_type_tsg_f(void) | ||
350 | { | ||
351 | return 0x1000000; | ||
352 | } | ||
349 | static inline u32 fifo_preempt_chid_f(u32 v) | 353 | static inline u32 fifo_preempt_chid_f(u32 v) |
350 | { | 354 | { |
351 | return (v & 0xfff) << 0; | 355 | return (v & 0xfff) << 0; |
352 | } | 356 | } |
357 | static inline u32 fifo_preempt_id_f(u32 v) | ||
358 | { | ||
359 | return (v & 0xfff) << 0; | ||
360 | } | ||
353 | static inline u32 fifo_trigger_mmu_fault_r(u32 i) | 361 | static inline u32 fifo_trigger_mmu_fault_r(u32 i) |
354 | { | 362 | { |
355 | return 0x00002a30 + i*4; | 363 | return 0x00002a30 + i*4; |