diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/vgpu/vgpu_linux.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/vgpu/vgpu_linux.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/vgpu/vgpu_linux.c b/drivers/gpu/nvgpu/common/linux/vgpu/vgpu_linux.c index 1e5efa38..6f040603 100644 --- a/drivers/gpu/nvgpu/common/linux/vgpu/vgpu_linux.c +++ b/drivers/gpu/nvgpu/common/linux/vgpu/vgpu_linux.c | |||
@@ -76,6 +76,7 @@ static void vgpu_init_vars(struct gk20a *g, struct gk20a_platform *platform) | |||
76 | 76 | ||
77 | nvgpu_mutex_init(&g->poweron_lock); | 77 | nvgpu_mutex_init(&g->poweron_lock); |
78 | nvgpu_mutex_init(&g->poweroff_lock); | 78 | nvgpu_mutex_init(&g->poweroff_lock); |
79 | nvgpu_mutex_init(&g->ctxsw_disable_lock); | ||
79 | l->regs_saved = l->regs; | 80 | l->regs_saved = l->regs; |
80 | l->bar1_saved = l->bar1; | 81 | l->bar1_saved = l->bar1; |
81 | 82 | ||