diff options
author | Seema Khowala <seemaj@nvidia.com> | 2017-09-12 16:29:59 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-09-15 18:16:00 -0400 |
commit | 1c850d0beef16216c21b3c833a5d3333ef229788 (patch) | |
tree | e4096c66174c6e3821cdd5a9ef2e7a43ca7dadaf | |
parent | 622072d1c069581da80b14a7ea64e20d283877ab (diff) |
gpu: nvgpu: gv11b: fecs_trace ops are set to NULL
CTXSW_TRACE will be enabled only after it is
verified. Set all function pointers for fecs_trace
to NULL
JIRA GPUT19X-42
Change-Id: I7a807f997f683c19541e55fa7e3d5d3ff6b645d2
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1558464
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/hal_gv11b.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c index fcc3b91a..2abd6243 100644 --- a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c | |||
@@ -487,20 +487,20 @@ static const struct gpu_ops gv11b_ops = { | |||
487 | }, | 487 | }, |
488 | #ifdef CONFIG_GK20A_CTXSW_TRACE | 488 | #ifdef CONFIG_GK20A_CTXSW_TRACE |
489 | .fecs_trace = { | 489 | .fecs_trace = { |
490 | .alloc_user_buffer = gk20a_ctxsw_dev_ring_alloc, | 490 | .alloc_user_buffer = NULL, |
491 | .free_user_buffer = gk20a_ctxsw_dev_ring_free, | 491 | .free_user_buffer = NULL, |
492 | .mmap_user_buffer = gk20a_ctxsw_dev_mmap_buffer, | 492 | .mmap_user_buffer = NULL, |
493 | .init = gk20a_fecs_trace_init, | 493 | .init = NULL, |
494 | .deinit = gk20a_fecs_trace_deinit, | 494 | .deinit = NULL, |
495 | .enable = gk20a_fecs_trace_enable, | 495 | .enable = NULL, |
496 | .disable = gk20a_fecs_trace_disable, | 496 | .disable = NULL, |
497 | .is_enabled = gk20a_fecs_trace_is_enabled, | 497 | .is_enabled = NULL, |
498 | .reset = gk20a_fecs_trace_reset, | 498 | .reset = NULL, |
499 | .flush = gp10b_fecs_trace_flush, | 499 | .flush = NULL, |
500 | .poll = gk20a_fecs_trace_poll, | 500 | .poll = NULL, |
501 | .bind_channel = gk20a_fecs_trace_bind_channel, | 501 | .bind_channel = NULL, |
502 | .unbind_channel = gk20a_fecs_trace_unbind_channel, | 502 | .unbind_channel = NULL, |
503 | .max_entries = gk20a_gr_max_entries, | 503 | .max_entries = NULL, |
504 | }, | 504 | }, |
505 | #endif /* CONFIG_GK20A_CTXSW_TRACE */ | 505 | #endif /* CONFIG_GK20A_CTXSW_TRACE */ |
506 | .mm = { | 506 | .mm = { |