summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/channel_gk20a.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
index 21abdf9a..0c199146 100644
--- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
@@ -314,7 +314,11 @@ static void gk20a_free_channel(struct channel_gk20a *ch, bool force)
314 "failed to unbind channel %d from TSG", 314 "failed to unbind channel %d from TSG",
315 ch->chid); 315 ch->chid);
316 } else { 316 } else {
317 gk20a_disable_channel(ch); 317 /*
318 * Channel is already unbound from TSG by User with
319 * explicit call
320 * Nothing to do here in that case
321 */
318 } 322 }
319 } 323 }
320 /* wait until there's only our ref to the channel */ 324 /* wait until there's only our ref to the channel */