diff options
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/channel.h | 2 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/gk20a.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/channel.h b/drivers/gpu/nvgpu/include/nvgpu/channel.h index d7bf7816..7ca60fe3 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/channel.h +++ b/drivers/gpu/nvgpu/include/nvgpu/channel.h | |||
@@ -95,7 +95,9 @@ struct nvgpu_setup_bind_args { | |||
95 | u32 num_gpfifo_entries; | 95 | u32 num_gpfifo_entries; |
96 | u32 num_inflight_jobs; | 96 | u32 num_inflight_jobs; |
97 | u32 userd_dmabuf_fd; | 97 | u32 userd_dmabuf_fd; |
98 | u64 userd_dmabuf_offset; | ||
98 | u32 gpfifo_dmabuf_fd; | 99 | u32 gpfifo_dmabuf_fd; |
100 | u64 gpfifo_dmabuf_offset; | ||
99 | u32 work_submit_token; | 101 | u32 work_submit_token; |
100 | u32 flags; | 102 | u32 flags; |
101 | }; | 103 | }; |
diff --git a/drivers/gpu/nvgpu/include/nvgpu/gk20a.h b/drivers/gpu/nvgpu/include/nvgpu/gk20a.h index feae7d23..873fa826 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/gk20a.h +++ b/drivers/gpu/nvgpu/include/nvgpu/gk20a.h | |||
@@ -1605,7 +1605,8 @@ struct gk20a { | |||
1605 | struct nvgpu_gpfifo_userdata userdata, | 1605 | struct nvgpu_gpfifo_userdata userdata, |
1606 | u32 start, u32 length); | 1606 | u32 start, u32 length); |
1607 | int (*alloc_usermode_buffers)(struct channel_gk20a *c, | 1607 | int (*alloc_usermode_buffers)(struct channel_gk20a *c, |
1608 | struct nvgpu_setup_bind_args *gpfifo_args); | 1608 | struct nvgpu_setup_bind_args *args); |
1609 | void (*free_usermode_buffers)(struct channel_gk20a *c); | ||
1609 | } os_channel; | 1610 | } os_channel; |
1610 | 1611 | ||
1611 | struct gk20a_scale_profile *scale_profile; | 1612 | struct gk20a_scale_profile *scale_profile; |