summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/nvgpu/common/linux/ioctl_tsg.c1
-rw-r--r--drivers/gpu/nvgpu/gk20a/tsg_gk20a.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/ioctl_tsg.c b/drivers/gpu/nvgpu/common/linux/ioctl_tsg.c
index 445199c2..931a3264 100644
--- a/drivers/gpu/nvgpu/common/linux/ioctl_tsg.c
+++ b/drivers/gpu/nvgpu/common/linux/ioctl_tsg.c
@@ -359,6 +359,7 @@ void nvgpu_ioctl_tsg_release(struct nvgpu_ref *ref)
359 gk20a_sched_ctrl_tsg_removed(g, tsg); 359 gk20a_sched_ctrl_tsg_removed(g, tsg);
360 360
361 gk20a_tsg_release(ref); 361 gk20a_tsg_release(ref);
362 gk20a_put(g);
362} 363}
363 364
364int nvgpu_ioctl_tsg_dev_release(struct inode *inode, struct file *filp) 365int nvgpu_ioctl_tsg_dev_release(struct inode *inode, struct file *filp)
diff --git a/drivers/gpu/nvgpu/gk20a/tsg_gk20a.c b/drivers/gpu/nvgpu/gk20a/tsg_gk20a.c
index ff700372..d9ddc011 100644
--- a/drivers/gpu/nvgpu/gk20a/tsg_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/tsg_gk20a.c
@@ -347,7 +347,6 @@ void gk20a_tsg_release(struct nvgpu_ref *ref)
347 tsg->runlist_id = ~0; 347 tsg->runlist_id = ~0;
348 348
349 gk20a_dbg(gpu_dbg_fn, "tsg released %d\n", tsg->tsgid); 349 gk20a_dbg(gpu_dbg_fn, "tsg released %d\n", tsg->tsgid);
350 gk20a_put(g);
351} 350}
352 351
353struct tsg_gk20a *tsg_gk20a_from_ch(struct channel_gk20a *ch) 352struct tsg_gk20a *tsg_gk20a_from_ch(struct channel_gk20a *ch)