summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/ioctl_channel.h
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2017-03-23 17:19:01 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-04-04 13:24:49 -0400
commit06fe28567d45c8fb1c2a04f0f007fa5d750b849d (patch)
tree8da57e0a1ce577536e50a9e69ccc63641e3996db /drivers/gpu/nvgpu/common/linux/ioctl_channel.h
parenta07e10f494c158ae31d6187e9be3db409528a507 (diff)
gpu: nvgpu: Move TSG IOCTL code to Linux module
Move TSG IOCTL specific code to Linux module. This clears most Linux dependencies from tsg_gk20a.c. Move also remaining file_operations declarations from channel_gk20a.h to ioctl_channel.h. JIRA NVGPU-32 Change-Id: Idcc2a525ebe12b30db46c3893a2735509c41ff39 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1330805 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/ioctl_channel.h')
-rw-r--r--drivers/gpu/nvgpu/common/linux/ioctl_channel.h3
1 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 f57739e2..f488ceca 100644
--- a/drivers/gpu/nvgpu/common/linux/ioctl_channel.h
+++ b/drivers/gpu/nvgpu/common/linux/ioctl_channel.h
@@ -18,4 +18,7 @@ int 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);
20 20
21extern const struct file_operations gk20a_event_id_ops;
22extern const struct file_operations gk20a_channel_ops;
23
21#endif 24#endif