diff --git a/drivers/gpu/nvgpu/hal/vgpu/init/vgpu_hal_gp10b.c b/drivers/gpu/nvgpu/hal/vgpu/init/vgpu_hal_gp10b.c index 189bfe774..5539d58fc 100644 --- a/drivers/gpu/nvgpu/hal/vgpu/init/vgpu_hal_gp10b.c +++ b/drivers/gpu/nvgpu/hal/vgpu/init/vgpu_hal_gp10b.c @@ -30,7 +30,6 @@ #include #include #include -#include #include #include #ifdef CONFIG_NVGPU_LS_PMU @@ -164,9 +163,9 @@ static const struct gpu_ops vgpu_gp10b_ops = { .ce = { .ce_init_support = nvgpu_ce_init_support, #ifdef CONFIG_NVGPU_DGPU - .ce_app_init_support = nvgpu_ce_app_init_support, - .ce_app_suspend = nvgpu_ce_app_suspend, - .ce_app_destroy = nvgpu_ce_app_destroy, + .ce_app_init_support = NULL, + .ce_app_suspend = NULL, + .ce_app_destroy = NULL, #endif .isr_stall = NULL, .isr_nonstall = NULL, diff --git a/drivers/gpu/nvgpu/hal/vgpu/init/vgpu_hal_gv11b.c b/drivers/gpu/nvgpu/hal/vgpu/init/vgpu_hal_gv11b.c index 149c33dd0..7ee7bdf6c 100644 --- a/drivers/gpu/nvgpu/hal/vgpu/init/vgpu_hal_gv11b.c +++ b/drivers/gpu/nvgpu/hal/vgpu/init/vgpu_hal_gv11b.c @@ -98,7 +98,6 @@ #include #include #include -#include #include #include #include @@ -223,9 +222,9 @@ static const struct gpu_ops vgpu_gv11b_ops = { .ce = { .ce_init_support = nvgpu_ce_init_support, #ifdef CONFIG_NVGPU_DGPU - .ce_app_init_support = nvgpu_ce_app_init_support, - .ce_app_suspend = nvgpu_ce_app_suspend, - .ce_app_destroy = nvgpu_ce_app_destroy, + .ce_app_init_support = NULL, + .ce_app_suspend = NULL, + .ce_app_destroy = NULL, #endif .isr_stall = NULL, .isr_nonstall = NULL, diff --git a/drivers/gpu/nvgpu/os/linux/debug.c b/drivers/gpu/nvgpu/os/linux/debug.c index bf4eb0011..559e534ec 100644 --- a/drivers/gpu/nvgpu/os/linux/debug.c +++ b/drivers/gpu/nvgpu/os/linux/debug.c @@ -414,7 +414,8 @@ void gk20a_debug_init(struct gk20a *g, const char *debugfs_symlink) #ifdef CONFIG_NVGPU_SUPPORT_CDE gk20a_cde_debugfs_init(g); #endif - nvgpu_ce_debugfs_init(g); + if (!g->is_virtual) + nvgpu_ce_debugfs_init(g); nvgpu_alloc_debugfs_init(g); nvgpu_hal_debugfs_init(g); gk20a_fifo_debugfs_init(g);