diff options
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/channel_gk20a.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c index 648450ae..b8f769a4 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c | |||
@@ -769,7 +769,6 @@ struct channel_gk20a *gk20a_open_new_channel(struct gk20a *g) | |||
769 | 769 | ||
770 | return NULL; | 770 | return NULL; |
771 | } | 771 | } |
772 | g->ops.fifo.bind_channel(ch); | ||
773 | ch->pid = current->pid; | 772 | ch->pid = current->pid; |
774 | 773 | ||
775 | /* By default, channel is regular (non-TSG) channel */ | 774 | /* By default, channel is regular (non-TSG) channel */ |
@@ -1217,6 +1216,8 @@ int gk20a_alloc_channel_gpfifo(struct channel_gk20a *c, | |||
1217 | if (err) | 1216 | if (err) |
1218 | goto clean_up_unmap; | 1217 | goto clean_up_unmap; |
1219 | 1218 | ||
1219 | g->ops.fifo.bind_channel(c); | ||
1220 | |||
1220 | gk20a_free_sgtable(&sgt); | 1221 | gk20a_free_sgtable(&sgt); |
1221 | 1222 | ||
1222 | gk20a_dbg_fn("done"); | 1223 | gk20a_dbg_fn("done"); |