diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/hal_gv11b.c | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c index f9ac1f2a..9d7dca95 100644 --- a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c | |||
@@ -586,20 +586,20 @@ static const struct gpu_ops gv11b_ops = { | |||
586 | }, | 586 | }, |
587 | #ifdef CONFIG_GK20A_CTXSW_TRACE | 587 | #ifdef CONFIG_GK20A_CTXSW_TRACE |
588 | .fecs_trace = { | 588 | .fecs_trace = { |
589 | .alloc_user_buffer = NULL, | 589 | .alloc_user_buffer = gk20a_ctxsw_dev_ring_alloc, |
590 | .free_user_buffer = NULL, | 590 | .free_user_buffer = gk20a_ctxsw_dev_ring_free, |
591 | .mmap_user_buffer = NULL, | 591 | .mmap_user_buffer = gk20a_ctxsw_dev_mmap_buffer, |
592 | .init = NULL, | 592 | .init = gk20a_fecs_trace_init, |
593 | .deinit = NULL, | 593 | .deinit = gk20a_fecs_trace_deinit, |
594 | .enable = NULL, | 594 | .enable = gk20a_fecs_trace_enable, |
595 | .disable = NULL, | 595 | .disable = gk20a_fecs_trace_disable, |
596 | .is_enabled = NULL, | 596 | .is_enabled = gk20a_fecs_trace_is_enabled, |
597 | .reset = NULL, | 597 | .reset = gk20a_fecs_trace_reset, |
598 | .flush = NULL, | 598 | .flush = NULL, |
599 | .poll = NULL, | 599 | .poll = gk20a_fecs_trace_poll, |
600 | .bind_channel = NULL, | 600 | .bind_channel = gk20a_fecs_trace_bind_channel, |
601 | .unbind_channel = NULL, | 601 | .unbind_channel = gk20a_fecs_trace_unbind_channel, |
602 | .max_entries = NULL, | 602 | .max_entries = gk20a_gr_max_entries, |
603 | }, | 603 | }, |
604 | #endif /* CONFIG_GK20A_CTXSW_TRACE */ | 604 | #endif /* CONFIG_GK20A_CTXSW_TRACE */ |
605 | .mm = { | 605 | .mm = { |
@@ -843,6 +843,7 @@ int gv11b_init_hal(struct gk20a *g) | |||
843 | } | 843 | } |
844 | 844 | ||
845 | __nvgpu_set_enabled(g, NVGPU_PMU_FECS_BOOTSTRAP_DONE, false); | 845 | __nvgpu_set_enabled(g, NVGPU_PMU_FECS_BOOTSTRAP_DONE, false); |
846 | __nvgpu_set_enabled(g, NVGPU_FECS_TRACE_VA, true); | ||
846 | g->bootstrap_owner = LSF_BOOTSTRAP_OWNER_DEFAULT; | 847 | g->bootstrap_owner = LSF_BOOTSTRAP_OWNER_DEFAULT; |
847 | 848 | ||
848 | __nvgpu_set_enabled(g, NVGPU_SUPPORT_MULTIPLE_WPR, false); | 849 | __nvgpu_set_enabled(g, NVGPU_SUPPORT_MULTIPLE_WPR, false); |