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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
index e631b836..d5457d10 100644
--- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
@@ -1171,6 +1171,7 @@ struct channel_gk20a *gk20a_open_new_channel(struct gk20a *g,
1171 * alive and used (i.e. get-able) yet */ 1171 * alive and used (i.e. get-able) yet */
1172 1172
1173 ch->pid = current->pid; 1173 ch->pid = current->pid;
1174 ch->tgid = current->tgid; /* process granularity for FECS traces */
1174 1175
1175 /* By default, channel is regular (non-TSG) channel */ 1176 /* By default, channel is regular (non-TSG) channel */
1176 ch->tsgid = NVGPU_INVALID_TSG_ID; 1177 ch->tsgid = NVGPU_INVALID_TSG_ID;