summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/vgpu
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu')
-rw-r--r--drivers/gpu/nvgpu/vgpu/gr_vgpu.c1
-rw-r--r--drivers/gpu/nvgpu/vgpu/vgpu.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/gr_vgpu.c b/drivers/gpu/nvgpu/vgpu/gr_vgpu.c
index 87faa2f2..783b2f55 100644
--- a/drivers/gpu/nvgpu/vgpu/gr_vgpu.c
+++ b/drivers/gpu/nvgpu/vgpu/gr_vgpu.c
@@ -1086,4 +1086,5 @@ void vgpu_init_gr_ops(struct gpu_ops *gops)
1086 gops->gr.set_sm_debug_mode = vgpu_gr_set_sm_debug_mode; 1086 gops->gr.set_sm_debug_mode = vgpu_gr_set_sm_debug_mode;
1087 gops->gr.update_smpc_ctxsw_mode = vgpu_gr_update_smpc_ctxsw_mode; 1087 gops->gr.update_smpc_ctxsw_mode = vgpu_gr_update_smpc_ctxsw_mode;
1088 gops->gr.update_hwpm_ctxsw_mode = vgpu_gr_update_hwpm_ctxsw_mode; 1088 gops->gr.update_hwpm_ctxsw_mode = vgpu_gr_update_hwpm_ctxsw_mode;
1089 gops->gr.dump_gr_regs = NULL;
1089} 1090}
diff --git a/drivers/gpu/nvgpu/vgpu/vgpu.c b/drivers/gpu/nvgpu/vgpu/vgpu.c
index 125be58c..c548175a 100644
--- a/drivers/gpu/nvgpu/vgpu/vgpu.c
+++ b/drivers/gpu/nvgpu/vgpu/vgpu.c
@@ -240,6 +240,7 @@ static int vgpu_init_support(struct platform_device *pdev)
240 240
241 mutex_init(&g->dbg_sessions_lock); 241 mutex_init(&g->dbg_sessions_lock);
242 mutex_init(&g->client_lock); 242 mutex_init(&g->client_lock);
243 mutex_init(&g->ch_wdt_lock);
243 244
244 g->remove_support = vgpu_remove_support; 245 g->remove_support = vgpu_remove_support;
245 return 0; 246 return 0;