diff options
author | Ken Adams <kadams@nvidia.com> | 2014-04-21 21:21:09 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:09:42 -0400 |
commit | 0f2498ca09ed5642207e42560c9e89faebf2f455 (patch) | |
tree | 395f5bb182b30123cd41911488f93bf611d69543 /drivers/gpu/nvgpu/gk20a/hw_fifo_gk20a.h | |
parent | a9f75f87937a2d9ad88bbd992ee3d5c91c18c260 (diff) |
gpu: nvgpu: gk20a, gm20b headers
update headers from latest gen_register/ip_check info
Change-Id: Iae892ab7138e7bba4abc821b9d7893e768647daa
Signed-off-by: Ken Adams <kadams@nvidia.com>
Reviewed-on: http://git-master/r/399382
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; |