diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/tsg_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/tsg_gk20a.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/tsg_gk20a.h b/drivers/gpu/nvgpu/gk20a/tsg_gk20a.h index b1f1640e..730a80b6 100644 --- a/drivers/gpu/nvgpu/gk20a/tsg_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/tsg_gk20a.h | |||
@@ -22,17 +22,10 @@ | |||
22 | 22 | ||
23 | struct channel_gk20a; | 23 | struct channel_gk20a; |
24 | struct gpu_ops; | 24 | struct gpu_ops; |
25 | struct file; | ||
26 | 25 | ||
27 | bool gk20a_is_channel_marked_as_tsg(struct channel_gk20a *ch); | 26 | bool gk20a_is_channel_marked_as_tsg(struct channel_gk20a *ch); |
28 | 27 | struct tsg_gk20a *gk20a_tsg_open(struct gk20a *g); | |
29 | |||
30 | int gk20a_tsg_dev_release(struct inode *inode, struct file *filp); | ||
31 | int gk20a_tsg_dev_open(struct inode *inode, struct file *filp); | ||
32 | void gk20a_tsg_release(struct kref *ref); | 28 | void gk20a_tsg_release(struct kref *ref); |
33 | int gk20a_tsg_open(struct gk20a *g, struct file *filp); | ||
34 | long gk20a_tsg_dev_ioctl(struct file *filp, | ||
35 | unsigned int cmd, unsigned long arg); | ||
36 | 29 | ||
37 | int gk20a_init_tsg_support(struct gk20a *g, u32 tsgid); | 30 | int gk20a_init_tsg_support(struct gk20a *g, u32 tsgid); |
38 | void gk20a_init_tsg_ops(struct gpu_ops *gops); | 31 | void gk20a_init_tsg_ops(struct gpu_ops *gops); |
@@ -76,6 +69,8 @@ void gk20a_tsg_event_id_post_event(struct tsg_gk20a *tsg, | |||
76 | int event_id); | 69 | int event_id); |
77 | int gk20a_tsg_set_runlist_interleave(struct tsg_gk20a *tsg, u32 level); | 70 | int gk20a_tsg_set_runlist_interleave(struct tsg_gk20a *tsg, u32 level); |
78 | int gk20a_tsg_set_timeslice(struct tsg_gk20a *tsg, u32 timeslice); | 71 | int gk20a_tsg_set_timeslice(struct tsg_gk20a *tsg, u32 timeslice); |
72 | int gk20a_tsg_set_priority(struct gk20a *g, struct tsg_gk20a *tsg, | ||
73 | u32 priority); | ||
79 | 74 | ||
80 | 75 | ||
81 | #endif /* __TSG_GK20A_H_ */ | 76 | #endif /* __TSG_GK20A_H_ */ |