diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/hw_fifo_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/hw_fifo_gk20a.h | 40 |
1 files changed, 16 insertions, 24 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/hw_fifo_gk20a.h b/drivers/gpu/nvgpu/gk20a/hw_fifo_gk20a.h index 5ebb8365..83e7d776 100644 --- a/drivers/gpu/nvgpu/gk20a/hw_fifo_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/hw_fifo_gk20a.h | |||
@@ -130,6 +130,22 @@ static inline u32 fifo_eng_timeslice_enable_true_f(void) | |||
130 | { | 130 | { |
131 | return 0x10000000; | 131 | return 0x10000000; |
132 | } | 132 | } |
133 | static inline u32 fifo_eng_timeout_r(void) | ||
134 | { | ||
135 | return 0x00002a0c; | ||
136 | } | ||
137 | static inline u32 fifo_eng_timeout_period_max_f(void) | ||
138 | { | ||
139 | return 0x7fffffff; | ||
140 | } | ||
141 | static inline u32 fifo_eng_timeout_detection_enabled_f(void) | ||
142 | { | ||
143 | return 0x80000000; | ||
144 | } | ||
145 | static inline u32 fifo_eng_timeout_detection_disabled_f(void) | ||
146 | { | ||
147 | return 0x0; | ||
148 | } | ||
133 | static inline u32 fifo_pb_timeslice_r(u32 i) | 149 | static inline u32 fifo_pb_timeslice_r(u32 i) |
134 | { | 150 | { |
135 | return 0x00002350 + i*4; | 151 | return 0x00002350 + i*4; |
@@ -350,30 +366,6 @@ static inline u32 fifo_pb_timeout_detection_enabled_f(void) | |||
350 | { | 366 | { |
351 | return 0x80000000; | 367 | return 0x80000000; |
352 | } | 368 | } |
353 | static inline u32 fifo_eng_timeout_r(void) | ||
354 | { | ||
355 | return 0x00002a0c; | ||
356 | } | ||
357 | static inline u32 fifo_eng_timeout_period_m(void) | ||
358 | { | ||
359 | return 0x7fffffff << 0; | ||
360 | } | ||
361 | static inline u32 fifo_eng_timeout_period_max_f(void) | ||
362 | { | ||
363 | return 0x7fffffff; | ||
364 | } | ||
365 | static inline u32 fifo_eng_timeout_detection_m(void) | ||
366 | { | ||
367 | return 0x1 << 31; | ||
368 | } | ||
369 | static inline u32 fifo_eng_timeout_detection_enabled_f(void) | ||
370 | { | ||
371 | return 0x80000000; | ||
372 | } | ||
373 | static inline u32 fifo_eng_timeout_detection_disabled_f(void) | ||
374 | { | ||
375 | return 0x0; | ||
376 | } | ||
377 | static inline u32 fifo_error_sched_disable_r(void) | 369 | static inline u32 fifo_error_sched_disable_r(void) |
378 | { | 370 | { |
379 | return 0x0000262c; | 371 | return 0x0000262c; |