diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/debug.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/debug.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/debug.c b/drivers/gpu/nvgpu/common/linux/debug.c index abc8b907..5750800f 100644 --- a/drivers/gpu/nvgpu/common/linux/debug.c +++ b/drivers/gpu/nvgpu/common/linux/debug.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include "debug_pmu.h" | 22 | #include "debug_pmu.h" |
23 | #include "debug_sched.h" | 23 | #include "debug_sched.h" |
24 | #include "debug_hal.h" | 24 | #include "debug_hal.h" |
25 | #include "debug_xve.h" | ||
25 | #include "os_linux.h" | 26 | #include "os_linux.h" |
26 | 27 | ||
27 | #include "gk20a/gk20a.h" | 28 | #include "gk20a/gk20a.h" |
@@ -394,6 +395,8 @@ void gk20a_debug_init(struct gk20a *g, const char *debugfs_symlink) | |||
394 | #ifdef CONFIG_NVGPU_TRACK_MEM_USAGE | 395 | #ifdef CONFIG_NVGPU_TRACK_MEM_USAGE |
395 | nvgpu_kmem_debugfs_init(g); | 396 | nvgpu_kmem_debugfs_init(g); |
396 | #endif | 397 | #endif |
398 | if (g->pci_vendor_id) | ||
399 | nvgpu_xve_debugfs_init(g); | ||
397 | } | 400 | } |
398 | 401 | ||
399 | void gk20a_debug_deinit(struct gk20a *g) | 402 | void gk20a_debug_deinit(struct gk20a *g) |