summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/vgpu/gr_vgpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/gr_vgpu.c')
-rw-r--r--drivers/gpu/nvgpu/vgpu/gr_vgpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/gr_vgpu.c b/drivers/gpu/nvgpu/vgpu/gr_vgpu.c
index 96d21c0a..b913847b 100644
--- a/drivers/gpu/nvgpu/vgpu/gr_vgpu.c
+++ b/drivers/gpu/nvgpu/vgpu/gr_vgpu.c
@@ -844,7 +844,7 @@ static void vgpu_remove_gr_support(struct gr_gk20a *gr)
844{ 844{
845 gk20a_dbg_fn(""); 845 gk20a_dbg_fn("");
846 846
847 gk20a_comptag_allocator_destroy(&gr->comp_tags); 847 gk20a_comptag_allocator_destroy(gr->g, &gr->comp_tags);
848 848
849 nvgpu_kfree(gr->g, gr->sm_error_states); 849 nvgpu_kfree(gr->g, gr->sm_error_states);
850 gr->sm_error_states = NULL; 850 gr->sm_error_states = NULL;