diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/gr_vgpu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/gr_vgpu.c b/drivers/gpu/nvgpu/vgpu/gr_vgpu.c index 9d765984..a512c36b 100644 --- a/drivers/gpu/nvgpu/vgpu/gr_vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/gr_vgpu.c | |||
@@ -899,6 +899,7 @@ static int vgpu_gr_init_gr_setup_sw(struct gk20a *g) | |||
899 | goto clean_up; | 899 | goto clean_up; |
900 | 900 | ||
901 | nvgpu_mutex_init(&gr->ctx_mutex); | 901 | nvgpu_mutex_init(&gr->ctx_mutex); |
902 | nvgpu_spinlock_init(&gr->ch_tlb_lock); | ||
902 | 903 | ||
903 | gr->sm_error_states = nvgpu_kzalloc(g, | 904 | gr->sm_error_states = nvgpu_kzalloc(g, |
904 | sizeof(struct nvgpu_gr_sm_error_state) * | 905 | sizeof(struct nvgpu_gr_sm_error_state) * |