diff options
Diffstat (limited to 'drivers/gpu/nvgpu/os/linux/ioctl_channel.c')
-rw-r--r-- | drivers/gpu/nvgpu/os/linux/ioctl_channel.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/ioctl_channel.c b/drivers/gpu/nvgpu/os/linux/ioctl_channel.c index fa6a02d6..7b003b76 100644 --- a/drivers/gpu/nvgpu/os/linux/ioctl_channel.c +++ b/drivers/gpu/nvgpu/os/linux/ioctl_channel.c | |||
@@ -34,6 +34,7 @@ | |||
34 | #include <nvgpu/barrier.h> | 34 | #include <nvgpu/barrier.h> |
35 | #include <nvgpu/nvhost.h> | 35 | #include <nvgpu/nvhost.h> |
36 | #include <nvgpu/os_sched.h> | 36 | #include <nvgpu/os_sched.h> |
37 | #include <nvgpu/channel.h> | ||
37 | 38 | ||
38 | #include "gk20a/gk20a.h" | 39 | #include "gk20a/gk20a.h" |
39 | #include "gk20a/dbg_gpu_gk20a.h" | 40 | #include "gk20a/dbg_gpu_gk20a.h" |
@@ -799,11 +800,11 @@ static int gk20a_ioctl_channel_submit_gpfifo( | |||
799 | return fd; | 800 | return fd; |
800 | } | 801 | } |
801 | 802 | ||
802 | userdata.entries = (struct nvgpu_gpfifo_entry __user*) | 803 | userdata.entries = (struct nvgpu_gpfifo_entry __user *) |
803 | (uintptr_t)args->gpfifo; | 804 | (uintptr_t)args->gpfifo; |
804 | userdata.context = NULL; | 805 | userdata.context = NULL; |
805 | 806 | ||
806 | ret = gk20a_submit_channel_gpfifo_user(ch, | 807 | ret = nvgpu_submit_channel_gpfifo_user(ch, |
807 | userdata, args->num_entries, | 808 | userdata, args->num_entries, |
808 | submit_flags, &fence, &fence_out, profile); | 809 | submit_flags, &fence, &fence_out, profile); |
809 | 810 | ||