summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/os/linux/os_ops_gp10b.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/os/linux/os_ops_gp10b.c')
-rw-r--r--drivers/gpu/nvgpu/os/linux/os_ops_gp10b.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/os_ops_gp10b.c b/drivers/gpu/nvgpu/os/linux/os_ops_gp10b.c
index 984dcdc0..e2891f73 100644
--- a/drivers/gpu/nvgpu/os/linux/os_ops_gp10b.c
+++ b/drivers/gpu/nvgpu/os/linux/os_ops_gp10b.c
@@ -17,6 +17,7 @@
17#include "os_linux.h" 17#include "os_linux.h"
18 18
19#include "cde_gp10b.h" 19#include "cde_gp10b.h"
20#include "debug_fecs_trace.h"
20 21
21static struct nvgpu_os_linux_ops gp10b_os_linux_ops = { 22static struct nvgpu_os_linux_ops gp10b_os_linux_ops = {
22#ifdef CONFIG_NVGPU_SUPPORT_CDE 23#ifdef CONFIG_NVGPU_SUPPORT_CDE
@@ -26,6 +27,9 @@ static struct nvgpu_os_linux_ops gp10b_os_linux_ops = {
26 .populate_scatter_buffer = gp10b_populate_scatter_buffer, 27 .populate_scatter_buffer = gp10b_populate_scatter_buffer,
27 }, 28 },
28#endif 29#endif
30 .fecs_trace = {
31 .init_debugfs = nvgpu_fecs_trace_init_debugfs,
32 },
29}; 33};
30 34
31void nvgpu_gp10b_init_os_ops(struct nvgpu_os_linux *l) 35void nvgpu_gp10b_init_os_ops(struct nvgpu_os_linux *l)
@@ -33,4 +37,5 @@ void nvgpu_gp10b_init_os_ops(struct nvgpu_os_linux *l)
33#ifdef CONFIG_NVGPU_SUPPORT_CDE 37#ifdef CONFIG_NVGPU_SUPPORT_CDE
34 l->ops.cde = gp10b_os_linux_ops.cde; 38 l->ops.cde = gp10b_os_linux_ops.cde;
35#endif 39#endif
40 l->ops.fecs_trace = gp10b_os_linux_ops.fecs_trace;
36} 41}