diff options
author | Debarshi Dutta <ddutta@nvidia.com> | 2019-05-09 02:03:35 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2019-05-14 17:59:33 -0400 |
commit | 543a904e630dfe78b193803ad04d2bd12380c2b0 (patch) | |
tree | 024f656b7cdc7096b2990c2597cf61c8f97780ea /drivers/gpu/nvgpu/gp106/hal_gp106.c | |
parent | 27625718c4b2e400650885f8c892860c6c7434fd (diff) |
gpu: nvgpu: fecs ctxsw trace for gm20b
Register gk20a non-arch-specific functions for gm20b
gpu_ops.fecs_trace,
Register nvgpu_os_linux_ops.fecs_trace.init_debugfs
gp10b_fecs_trace_flush is now replaced by gm20b_fecs_trace_flush in
fecs_trace_gm20b.* and the fecs_trace_gp10b.* files are removed.
Bug 2052906
Change-Id: I245c91ae8e6015b87bafeb3ec023b98fe4c57501
Signed-off-by: Debarshi Dutta <ddutta@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2115247
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/hal_gp106.c')
-rw-r--r-- | drivers/gpu/nvgpu/gp106/hal_gp106.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gp106/hal_gp106.c b/drivers/gpu/nvgpu/gp106/hal_gp106.c index fea2ffa0..86a133d5 100644 --- a/drivers/gpu/nvgpu/gp106/hal_gp106.c +++ b/drivers/gpu/nvgpu/gp106/hal_gp106.c | |||
@@ -54,7 +54,6 @@ | |||
54 | #include "gk20a/gr_gk20a.h" | 54 | #include "gk20a/gr_gk20a.h" |
55 | 55 | ||
56 | #include "gp10b/gr_gp10b.h" | 56 | #include "gp10b/gr_gp10b.h" |
57 | #include "gp10b/fecs_trace_gp10b.h" | ||
58 | #include "gp10b/mm_gp10b.h" | 57 | #include "gp10b/mm_gp10b.h" |
59 | #include "gp10b/ce_gp10b.h" | 58 | #include "gp10b/ce_gp10b.h" |
60 | #include "gp10b/regops_gp10b.h" | 59 | #include "gp10b/regops_gp10b.h" |
@@ -71,6 +70,7 @@ | |||
71 | #include "gm20b/pmu_gm20b.h" | 70 | #include "gm20b/pmu_gm20b.h" |
72 | #include "gm20b/acr_gm20b.h" | 71 | #include "gm20b/acr_gm20b.h" |
73 | #include "gm20b/gr_gm20b.h" | 72 | #include "gm20b/gr_gm20b.h" |
73 | #include "gm20b/fecs_trace_gm20b.h" | ||
74 | 74 | ||
75 | #include "gp106/acr_gp106.h" | 75 | #include "gp106/acr_gp106.h" |
76 | #include "gp106/sec2_gp106.h" | 76 | #include "gp106/sec2_gp106.h" |
@@ -570,7 +570,7 @@ static const struct gpu_ops gp106_ops = { | |||
570 | .disable = gk20a_fecs_trace_disable, | 570 | .disable = gk20a_fecs_trace_disable, |
571 | .is_enabled = gk20a_fecs_trace_is_enabled, | 571 | .is_enabled = gk20a_fecs_trace_is_enabled, |
572 | .reset = gk20a_fecs_trace_reset, | 572 | .reset = gk20a_fecs_trace_reset, |
573 | .flush = gp10b_fecs_trace_flush, | 573 | .flush = gm20b_fecs_trace_flush, |
574 | .poll = gk20a_fecs_trace_poll, | 574 | .poll = gk20a_fecs_trace_poll, |
575 | .bind_channel = gk20a_fecs_trace_bind_channel, | 575 | .bind_channel = gk20a_fecs_trace_bind_channel, |
576 | .unbind_channel = gk20a_fecs_trace_unbind_channel, | 576 | .unbind_channel = gk20a_fecs_trace_unbind_channel, |