mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
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>
This commit is contained in:
committed by
mobile promotions
parent
7c5cf70268
commit
236573e00a
@@ -17,6 +17,8 @@ int gk20a_channel_open(struct inode *inode, struct file *filp);
|
||||
int gk20a_channel_release(struct inode *inode, struct file *filp);
|
||||
long gk20a_channel_ioctl(struct file *filp,
|
||||
unsigned int cmd, unsigned long arg);
|
||||
int gk20a_channel_open_ioctl(struct gk20a *g,
|
||||
struct nvgpu_channel_open_args *args);
|
||||
|
||||
extern const struct file_operations gk20a_event_id_ops;
|
||||
extern const struct file_operations gk20a_channel_ops;
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
|
||||
#include "ioctl_ctrl.h"
|
||||
#include "ioctl_tsg.h"
|
||||
#include "ioctl_channel.h"
|
||||
#include "gk20a/gk20a.h"
|
||||
#include "gk20a/platform_gk20a.h"
|
||||
#include "gk20a/fence_gk20a.h"
|
||||
|
||||
@@ -348,14 +348,6 @@ void gk20a_channel_deterministic_unidle(struct gk20a *g);
|
||||
int nvgpu_channel_worker_init(struct gk20a *g);
|
||||
void nvgpu_channel_worker_deinit(struct gk20a *g);
|
||||
|
||||
/* Channel file operations */
|
||||
int gk20a_channel_open(struct inode *inode, struct file *filp);
|
||||
int gk20a_channel_open_ioctl(struct gk20a *g,
|
||||
struct nvgpu_channel_open_args *args);
|
||||
long gk20a_channel_ioctl(struct file *filp,
|
||||
unsigned int cmd,
|
||||
unsigned long arg);
|
||||
int gk20a_channel_release(struct inode *inode, struct file *filp);
|
||||
struct channel_gk20a *gk20a_get_channel_from_file(int fd);
|
||||
void gk20a_channel_update(struct channel_gk20a *c);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user