diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2017-10-04 10:06:52 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-10-10 15:08:19 -0400 |
commit | 236573e00a285ec2c94479ffe68c168b4d1464e6 (patch) | |
tree | 48685716ac86738903f2e1b7ec9b761bc5e0c2b8 /drivers/gpu/nvgpu/gk20a/channel_gk20a.h | |
parent | 7c5cf70268ca038f85686fbdec29729d1a9024c1 (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.h | 8 |
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); | |||
348 | int nvgpu_channel_worker_init(struct gk20a *g); | 348 | int nvgpu_channel_worker_init(struct gk20a *g); |
349 | void nvgpu_channel_worker_deinit(struct gk20a *g); | 349 | void nvgpu_channel_worker_deinit(struct gk20a *g); |
350 | 350 | ||
351 | /* Channel file operations */ | ||
352 | int gk20a_channel_open(struct inode *inode, struct file *filp); | ||
353 | int gk20a_channel_open_ioctl(struct gk20a *g, | ||
354 | struct nvgpu_channel_open_args *args); | ||
355 | long gk20a_channel_ioctl(struct file *filp, | ||
356 | unsigned int cmd, | ||
357 | unsigned long arg); | ||
358 | int gk20a_channel_release(struct inode *inode, struct file *filp); | ||
359 | struct channel_gk20a *gk20a_get_channel_from_file(int fd); | 351 | struct channel_gk20a *gk20a_get_channel_from_file(int fd); |
360 | void gk20a_channel_update(struct channel_gk20a *c); | 352 | void gk20a_channel_update(struct channel_gk20a *c); |
361 | 353 | ||