summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/vgpu/gv11b
diff options
context:
space:
mode:
authorVaibhav Kachore <vkachore@nvidia.com>2018-03-14 06:44:20 -0400
committerTejal Kudav <tkudav@nvidia.com>2018-06-14 09:44:08 -0400
commit1af9692e47f0f7c2a2f041d0075aa2651bd3995b (patch)
tree87227482805cd193f3773d982e5e145b58a7dd25 /drivers/gpu/nvgpu/vgpu/gv11b
parentca3215c6b23c7d855ced899d8090aaa8ce9a9fa3 (diff)
gpu: nvgpu: vgpu: add support for FECS VA
Enable FECS trace support for t194 Linux + HV EVLR-2309 Change-Id: If22c931a54833eb995710b6e0dcad335e4ffbae6 Signed-off-by: Vaibhav Kachore <vkachore@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1674970 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Nirav Patel <nipatel@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/gv11b')
-rw-r--r--drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c21
1 files changed, 11 insertions, 10 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c
index f81e8503..c6a6eae9 100644
--- a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c
+++ b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c
@@ -439,20 +439,21 @@ static const struct gpu_ops vgpu_gv11b_ops = {
439 }, 439 },
440#ifdef CONFIG_GK20A_CTXSW_TRACE 440#ifdef CONFIG_GK20A_CTXSW_TRACE
441 .fecs_trace = { 441 .fecs_trace = {
442 .alloc_user_buffer = NULL, 442 .alloc_user_buffer = vgpu_alloc_user_buffer,
443 .free_user_buffer = NULL, 443 .free_user_buffer = vgpu_free_user_buffer,
444 .mmap_user_buffer = NULL, 444 .mmap_user_buffer = vgpu_mmap_user_buffer,
445 .init = NULL, 445 .init = vgpu_fecs_trace_init,
446 .deinit = NULL, 446 .deinit = vgpu_fecs_trace_deinit,
447 .enable = NULL, 447 .enable = vgpu_fecs_trace_enable,
448 .disable = NULL, 448 .disable = vgpu_fecs_trace_disable,
449 .is_enabled = NULL, 449 .is_enabled = vgpu_fecs_trace_is_enabled,
450 .reset = NULL, 450 .reset = NULL,
451 .flush = NULL, 451 .flush = NULL,
452 .poll = NULL, 452 .poll = vgpu_fecs_trace_poll,
453 .bind_channel = NULL, 453 .bind_channel = NULL,
454 .unbind_channel = NULL, 454 .unbind_channel = NULL,
455 .max_entries = NULL, 455 .max_entries = vgpu_fecs_trace_max_entries,
456 .set_filter = vgpu_fecs_trace_set_filter,
456 }, 457 },
457#endif /* CONFIG_GK20A_CTXSW_TRACE */ 458#endif /* CONFIG_GK20A_CTXSW_TRACE */
458 .mm = { 459 .mm = {