diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/tsg_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/tsg_gk20a.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/tsg_gk20a.c b/drivers/gpu/nvgpu/gk20a/tsg_gk20a.c index ccb456cf..05b8fc61 100644 --- a/drivers/gpu/nvgpu/gk20a/tsg_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/tsg_gk20a.c | |||
@@ -267,7 +267,7 @@ static struct tsg_gk20a *gk20a_tsg_acquire_unused_tsg(struct fifo_gk20a *f) | |||
267 | return tsg; | 267 | return tsg; |
268 | } | 268 | } |
269 | 269 | ||
270 | struct tsg_gk20a *gk20a_tsg_open(struct gk20a *g) | 270 | struct tsg_gk20a *gk20a_tsg_open(struct gk20a *g, pid_t pid) |
271 | { | 271 | { |
272 | struct tsg_gk20a *tsg; | 272 | struct tsg_gk20a *tsg; |
273 | int err; | 273 | int err; |
@@ -286,7 +286,7 @@ struct tsg_gk20a *gk20a_tsg_open(struct gk20a *g) | |||
286 | tsg->timeslice_timeout = 0; | 286 | tsg->timeslice_timeout = 0; |
287 | tsg->timeslice_scale = 0; | 287 | tsg->timeslice_scale = 0; |
288 | tsg->runlist_id = ~0; | 288 | tsg->runlist_id = ~0; |
289 | tsg->tgid = nvgpu_current_pid(g); | 289 | tsg->tgid = pid; |
290 | 290 | ||
291 | if (g->ops.fifo.init_eng_method_buffers) | 291 | if (g->ops.fifo.init_eng_method_buffers) |
292 | g->ops.fifo.init_eng_method_buffers(g, tsg); | 292 | g->ops.fifo.init_eng_method_buffers(g, tsg); |