diff --git a/drivers/gpu/nvgpu/os/linux/debug.c b/drivers/gpu/nvgpu/os/linux/debug.c index aa258e382..d39426960 100644 --- a/drivers/gpu/nvgpu/os/linux/debug.c +++ b/drivers/gpu/nvgpu/os/linux/debug.c @@ -511,8 +511,6 @@ void gk20a_debug_init(struct gk20a *g, const char *debugfs_symlink) #ifdef CONFIG_NVGPU_SUPPORT_CDE gk20a_cde_debugfs_init(g); #endif - if (!g->is_virtual) - nvgpu_ce_debugfs_init(g); nvgpu_alloc_debugfs_init(g); nvgpu_hal_debugfs_init(g); gk20a_fifo_debugfs_init(g); @@ -522,6 +520,8 @@ void gk20a_debug_init(struct gk20a *g, const char *debugfs_symlink) #endif nvgpu_ltc_debugfs_init(g); #ifdef CONFIG_NVGPU_DGPU + if (!g->is_virtual) + nvgpu_ce_debugfs_init(g); if (g->pci_vendor_id) { nvgpu_xve_debugfs_init(g); nvgpu_bios_debugfs_init(g);