diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/fifo_gv11b.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c b/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c index e33b8ee2..eb8f44d7 100644 --- a/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c | |||
@@ -311,6 +311,18 @@ static void gv11b_dump_eng_status(struct gk20a *g, | |||
311 | gk20a_debug_output(o, "\n"); | 311 | gk20a_debug_output(o, "\n"); |
312 | } | 312 | } |
313 | 313 | ||
314 | static u32 gv11b_fifo_intr_0_error_mask(struct gk20a *g) | ||
315 | { | ||
316 | u32 intr_0_error_mask = | ||
317 | fifo_intr_0_bind_error_pending_f() | | ||
318 | fifo_intr_0_sched_error_pending_f() | | ||
319 | fifo_intr_0_chsw_error_pending_f() | | ||
320 | fifo_intr_0_fb_flush_timeout_pending_f() | | ||
321 | fifo_intr_0_lb_error_pending_f(); | ||
322 | |||
323 | return intr_0_error_mask; | ||
324 | } | ||
325 | |||
314 | void gv11b_init_fifo(struct gpu_ops *gops) | 326 | void gv11b_init_fifo(struct gpu_ops *gops) |
315 | { | 327 | { |
316 | gp10b_init_fifo(gops); | 328 | gp10b_init_fifo(gops); |
@@ -333,4 +345,5 @@ void gv11b_init_fifo(struct gpu_ops *gops) | |||
333 | gops->fifo.dump_pbdma_status = gk20a_dump_pbdma_status; | 345 | gops->fifo.dump_pbdma_status = gk20a_dump_pbdma_status; |
334 | gops->fifo.dump_eng_status = gv11b_dump_eng_status; | 346 | gops->fifo.dump_eng_status = gv11b_dump_eng_status; |
335 | gops->fifo.dump_channel_status_ramfc = gv11b_dump_channel_status_ramfc; | 347 | gops->fifo.dump_channel_status_ramfc = gv11b_dump_channel_status_ramfc; |
348 | gops->fifo.intr_0_error_mask = gv11b_fifo_intr_0_error_mask; | ||
336 | } | 349 | } |