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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
index 486e815c..ef7195a7 100644
--- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
@@ -747,6 +747,9 @@ static struct channel_gk20a *gk20a_open_new_channel(struct gk20a *g)
747 g->ops.fifo.bind_channel(ch); 747 g->ops.fifo.bind_channel(ch);
748 ch->pid = current->pid; 748 ch->pid = current->pid;
749 749
750 /* By default, channel is regular (non-TSG) channel */
751 ch->tsgid = NVGPU_INVALID_TSG_ID;
752
750 /* reset timeout counter and update timestamp */ 753 /* reset timeout counter and update timestamp */
751 ch->timeout_accumulated_ms = 0; 754 ch->timeout_accumulated_ms = 0;
752 ch->timeout_gpfifo_get = 0; 755 ch->timeout_gpfifo_get = 0;