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_channel.h2
-rw-r--r--drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/ioctl_channel.h b/drivers/gpu/nvgpu/common/linux/ioctl_channel.h
index f488ceca..1aac04aa 100644
--- a/drivers/gpu/nvgpu/common/linux/ioctl_channel.h
+++ b/drivers/gpu/nvgpu/common/linux/ioctl_channel.h
@@ -17,6 +17,8 @@ int gk20a_channel_open(struct inode *inode, struct file *filp);
17int gk20a_channel_release(struct inode *inode, struct file *filp); 17int gk20a_channel_release(struct inode *inode, struct file *filp);
18long gk20a_channel_ioctl(struct file *filp, 18long gk20a_channel_ioctl(struct file *filp,
19 unsigned int cmd, unsigned long arg); 19 unsigned int cmd, unsigned long arg);
20int gk20a_channel_open_ioctl(struct gk20a *g,
21 struct nvgpu_channel_open_args *args);
20 22
21extern const struct file_operations gk20a_event_id_ops; 23extern const struct file_operations gk20a_event_id_ops;
22extern const struct file_operations gk20a_channel_ops; 24extern const struct file_operations gk20a_channel_ops;
diff --git a/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c b/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c
index 87ae0a3d..c8460bd9 100644
--- a/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c
+++ b/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c
@@ -29,6 +29,7 @@
29 29
30#include "ioctl_ctrl.h" 30#include "ioctl_ctrl.h"
31#include "ioctl_tsg.h" 31#include "ioctl_tsg.h"
32#include "ioctl_channel.h"
32#include "gk20a/gk20a.h" 33#include "gk20a/gk20a.h"
33#include "gk20a/platform_gk20a.h" 34#include "gk20a/platform_gk20a.h"
34#include "gk20a/fence_gk20a.h" 35#include "gk20a/fence_gk20a.h"