mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
gpu: nvgpu: move open/release from fifo to tsg
Moved the following HALs from fifo to tsg: - tsg.open - tsg.release They are used only in vgpu case. Jira NVGPU-2979 Change-Id: Icda6f6cfea063ea326b1874b7f15b57a8ea0d5b9 Signed-off-by: Thomas Fleury <tfleury@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2087184 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
75963b47f1
commit
bf5ed9fd9f
@@ -416,7 +416,7 @@ int nvgpu_ioctl_tsg_open(struct gk20a *g, struct file *filp)
|
||||
goto free_mem;
|
||||
}
|
||||
|
||||
tsg = gk20a_tsg_open(g, nvgpu_current_pid(g));
|
||||
tsg = nvgpu_tsg_open(g, nvgpu_current_pid(g));
|
||||
gk20a_idle(g);
|
||||
if (!tsg) {
|
||||
err = -ENOMEM;
|
||||
@@ -470,7 +470,7 @@ void nvgpu_ioctl_tsg_release(struct nvgpu_ref *ref)
|
||||
|
||||
gk20a_sched_ctrl_tsg_removed(g, tsg);
|
||||
|
||||
gk20a_tsg_release(ref);
|
||||
nvgpu_tsg_release(ref);
|
||||
gk20a_put(g);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user