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/gp10b/hal_gp10b.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/gp10b/hal_gp10b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/hal_gp10b.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/hal_gp10b.c b/drivers/gpu/nvgpu/gp10b/hal_gp10b.c index 5fcfb32f..0723fa0e 100644 --- a/drivers/gpu/nvgpu/gp10b/hal_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/hal_gp10b.c | |||
@@ -60,7 +60,6 @@ | |||
60 | #include "gk20a/gr_gk20a.h" | 60 | #include "gk20a/gr_gk20a.h" |
61 | 61 | ||
62 | #include "gp10b/gr_gp10b.h" | 62 | #include "gp10b/gr_gp10b.h" |
63 | #include "gp10b/fecs_trace_gp10b.h" | ||
64 | #include "gp10b/mm_gp10b.h" | 63 | #include "gp10b/mm_gp10b.h" |
65 | #include "gp10b/ce_gp10b.h" | 64 | #include "gp10b/ce_gp10b.h" |
66 | #include "gp10b/pmu_gp10b.h" | 65 | #include "gp10b/pmu_gp10b.h" |
@@ -76,6 +75,7 @@ | |||
76 | #include "gm20b/pmu_gm20b.h" | 75 | #include "gm20b/pmu_gm20b.h" |
77 | #include "gm20b/clk_gm20b.h" | 76 | #include "gm20b/clk_gm20b.h" |
78 | #include "gm20b/mm_gm20b.h" | 77 | #include "gm20b/mm_gm20b.h" |
78 | #include "gm20b/fecs_trace_gm20b.h" | ||
79 | 79 | ||
80 | #include "gp10b.h" | 80 | #include "gp10b.h" |
81 | #include "hal_gp10b.h" | 81 | #include "hal_gp10b.h" |
@@ -537,7 +537,7 @@ static const struct gpu_ops gp10b_ops = { | |||
537 | .disable = gk20a_fecs_trace_disable, | 537 | .disable = gk20a_fecs_trace_disable, |
538 | .is_enabled = gk20a_fecs_trace_is_enabled, | 538 | .is_enabled = gk20a_fecs_trace_is_enabled, |
539 | .reset = gk20a_fecs_trace_reset, | 539 | .reset = gk20a_fecs_trace_reset, |
540 | .flush = gp10b_fecs_trace_flush, | 540 | .flush = gm20b_fecs_trace_flush, |
541 | .poll = gk20a_fecs_trace_poll, | 541 | .poll = gk20a_fecs_trace_poll, |
542 | .bind_channel = gk20a_fecs_trace_bind_channel, | 542 | .bind_channel = gk20a_fecs_trace_bind_channel, |
543 | .unbind_channel = gk20a_fecs_trace_unbind_channel, | 543 | .unbind_channel = gk20a_fecs_trace_unbind_channel, |