summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
diff options
context:
space:
mode:
authorDeepak Nibade <dnibade@nvidia.com>2017-10-04 10:06:52 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-10-10 15:08:19 -0400
commit236573e00a285ec2c94479ffe68c168b4d1464e6 (patch)
tree48685716ac86738903f2e1b7ec9b761bc5e0c2b8 /drivers/gpu/nvgpu/gk20a/channel_gk20a.h
parent7c5cf70268ca038f85686fbdec29729d1a9024c1 (diff)
gpu: nvgpu: clean up channel open/release declares
Below APIs are already declared in ioctl_channel.h, and hence remove duplicate declaration from channel_gk20a.h gk20a_channel_open() gk20a_channel_ioctl() gk20a_channel_release() And move declaration of gk20a_channel_open_ioctl() from channel_gk20a.h to ioctl_channel.h Jira NVGPU-259 Change-Id: I46702ca481e41a19f92f4fe0169f95e31360abe0 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1573106 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/channel_gk20a.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
index eb777f09..e4cce101 100644
--- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
@@ -348,14 +348,6 @@ void gk20a_channel_deterministic_unidle(struct gk20a *g);
348int nvgpu_channel_worker_init(struct gk20a *g); 348int nvgpu_channel_worker_init(struct gk20a *g);
349void nvgpu_channel_worker_deinit(struct gk20a *g); 349void nvgpu_channel_worker_deinit(struct gk20a *g);
350 350
351/* Channel file operations */
352int gk20a_channel_open(struct inode *inode, struct file *filp);
353int gk20a_channel_open_ioctl(struct gk20a *g,
354 struct nvgpu_channel_open_args *args);
355long gk20a_channel_ioctl(struct file *filp,
356 unsigned int cmd,
357 unsigned long arg);
358int gk20a_channel_release(struct inode *inode, struct file *filp);
359struct channel_gk20a *gk20a_get_channel_from_file(int fd); 351struct channel_gk20a *gk20a_get_channel_from_file(int fd);
360void gk20a_channel_update(struct channel_gk20a *c); 352void gk20a_channel_update(struct channel_gk20a *c);
361 353