diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-10-17 14:09:22 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-10-20 13:05:29 -0400 |
commit | 98b08b413bb5ef082719bf2907629ab00137ec81 (patch) | |
tree | ef29b0fc6720bb628bf76f6c76cc11eaec36285d /drivers/gpu/nvgpu/common | |
parent | 62e133029d5a89e07e3ba5e96475c0960c0bc3dd (diff) |
gpu: nvgpu: Use sched_ctrl from nvgpu_os_linux
Sched has been moved to be part of Linux implementation, and at the
same time sched_ctrl has been moved to be part of nvgpu_os_linux.
JIRA NVGPU-259
Change-Id: I4c1869628ad716bcd903ba99db926a8f8723828d
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1580650
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/gpu/nvgpu/common')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/ioctl_tsg_t19x.c | 4 |
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 | ||
24 | static int gv11b_tsg_ioctl_bind_channel_ex(struct gk20a *g, | 25 | static 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 | ||