summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/fifo_vgpu.c')
-rw-r--r--drivers/gpu/nvgpu/vgpu/fifo_vgpu.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c b/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c
index 535de851..294581b9 100644
--- a/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c
+++ b/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c
@@ -59,16 +59,6 @@ static void vgpu_channel_unbind(struct channel_gk20a *ch)
59 } 59 }
60 60
61 ch->bound = false; 61 ch->bound = false;
62
63 /*
64 * if we are agrressive then we can destroy the syncpt
65 * resource at this point
66 * if not, then it will be destroyed at channel_free()
67 */
68 if (ch->sync && platform->aggressive_sync_destroy) {
69 ch->sync->destroy(ch->sync);
70 ch->sync = NULL;
71 }
72} 62}
73 63
74static int vgpu_channel_alloc_inst(struct gk20a *g, struct channel_gk20a *ch) 64static int vgpu_channel_alloc_inst(struct gk20a *g, struct channel_gk20a *ch)