summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/os/linux/os_ops_gv100.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/os/linux/os_ops_gv100.c')
-rw-r--r--drivers/gpu/nvgpu/os/linux/os_ops_gv100.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/os_ops_gv100.c b/drivers/gpu/nvgpu/os/linux/os_ops_gv100.c
index 7a5174a4..f5c5a604 100644
--- a/drivers/gpu/nvgpu/os/linux/os_ops_gv100.c
+++ b/drivers/gpu/nvgpu/os/linux/os_ops_gv100.c
@@ -18,6 +18,7 @@
18 18
19#include "debug_clk_gp106.h" 19#include "debug_clk_gp106.h"
20#include "debug_therm_gp106.h" 20#include "debug_therm_gp106.h"
21#include "debug_fecs_trace.h"
21 22
22static struct nvgpu_os_linux_ops gv100_os_linux_ops = { 23static struct nvgpu_os_linux_ops gv100_os_linux_ops = {
23 .clk = { 24 .clk = {
@@ -26,10 +27,14 @@ static struct nvgpu_os_linux_ops gv100_os_linux_ops = {
26 .therm = { 27 .therm = {
27 .init_debugfs = gp106_therm_init_debugfs, 28 .init_debugfs = gp106_therm_init_debugfs,
28 }, 29 },
30 .fecs_trace = {
31 .init_debugfs = nvgpu_fecs_trace_init_debugfs,
32 },
29}; 33};
30 34
31void nvgpu_gv100_init_os_ops(struct nvgpu_os_linux *l) 35void nvgpu_gv100_init_os_ops(struct nvgpu_os_linux *l)
32{ 36{
33 l->ops.clk = gv100_os_linux_ops.clk; 37 l->ops.clk = gv100_os_linux_ops.clk;
34 l->ops.therm = gv100_os_linux_ops.therm; 38 l->ops.therm = gv100_os_linux_ops.therm;
39 l->ops.fecs_trace = gv100_os_linux_ops.fecs_trace;
35} 40}