summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common')
-rw-r--r--drivers/gpu/nvgpu/common/linux/ioctl_tsg_t19x.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/ioctl_tsg_t19x.c b/drivers/gpu/nvgpu/common/linux/ioctl_tsg_t19x.c
index 87fbf010..797115ac 100644
--- a/drivers/gpu/nvgpu/common/linux/ioctl_tsg_t19x.c
+++ b/drivers/gpu/nvgpu/common/linux/ioctl_tsg_t19x.c
@@ -20,11 +20,13 @@
20#include "gv11b/fifo_gv11b.h" 20#include "gv11b/fifo_gv11b.h"
21#include "gv11b/subctx_gv11b.h" 21#include "gv11b/subctx_gv11b.h"
22#include "ioctl_tsg_t19x.h" 22#include "ioctl_tsg_t19x.h"
23#include "common/linux/os_linux.h"
23 24
24static int gv11b_tsg_ioctl_bind_channel_ex(struct gk20a *g, 25static int gv11b_tsg_ioctl_bind_channel_ex(struct gk20a *g,
25 struct tsg_gk20a *tsg, struct nvgpu_tsg_bind_channel_ex_args *arg) 26 struct tsg_gk20a *tsg, struct nvgpu_tsg_bind_channel_ex_args *arg)
26{ 27{
27 struct gk20a_sched_ctrl *sched = &g->sched_ctrl; 28 struct nvgpu_os_linux *l = nvgpu_os_linux_from_gk20a(g);
29 struct gk20a_sched_ctrl *sched = &l->sched_ctrl;
28 struct channel_gk20a *ch; 30 struct channel_gk20a *ch;
29 int err = 0; 31 int err = 0;
30 32