diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gv100/fifo_gv100.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv100/fifo_gv100.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv100/fifo_gv100.c b/drivers/gpu/nvgpu/gv100/fifo_gv100.c index e19301e6..79862f6b 100644 --- a/drivers/gpu/nvgpu/gv100/fifo_gv100.c +++ b/drivers/gpu/nvgpu/gv100/fifo_gv100.c | |||
@@ -26,7 +26,15 @@ | |||
26 | 26 | ||
27 | #include <nvgpu/hw/gv100/hw_ccsr_gv100.h> | 27 | #include <nvgpu/hw/gv100/hw_ccsr_gv100.h> |
28 | 28 | ||
29 | #define DEFAULT_FIFO_PREEMPT_TIMEOUT 0x3FFFFFUL | ||
30 | |||
29 | u32 gv100_fifo_get_num_fifos(struct gk20a *g) | 31 | u32 gv100_fifo_get_num_fifos(struct gk20a *g) |
30 | { | 32 | { |
31 | return ccsr_channel__size_1_v(); | 33 | return ccsr_channel__size_1_v(); |
32 | } | 34 | } |
35 | |||
36 | u32 gv100_fifo_get_preempt_timeout(struct gk20a *g) | ||
37 | { | ||
38 | return DEFAULT_FIFO_PREEMPT_TIMEOUT; | ||
39 | } | ||
40 | |||