summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/tsg_gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/tsg_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/tsg_gk20a.h11
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
23struct channel_gk20a; 23struct channel_gk20a;
24struct gpu_ops; 24struct gpu_ops;
25struct file;
26 25
27bool gk20a_is_channel_marked_as_tsg(struct channel_gk20a *ch); 26bool gk20a_is_channel_marked_as_tsg(struct channel_gk20a *ch);
28 27struct tsg_gk20a *gk20a_tsg_open(struct gk20a *g);
29
30int gk20a_tsg_dev_release(struct inode *inode, struct file *filp);
31int gk20a_tsg_dev_open(struct inode *inode, struct file *filp);
32void gk20a_tsg_release(struct kref *ref); 28void gk20a_tsg_release(struct kref *ref);
33int gk20a_tsg_open(struct gk20a *g, struct file *filp);
34long gk20a_tsg_dev_ioctl(struct file *filp,
35 unsigned int cmd, unsigned long arg);
36 29
37int gk20a_init_tsg_support(struct gk20a *g, u32 tsgid); 30int gk20a_init_tsg_support(struct gk20a *g, u32 tsgid);
38void gk20a_init_tsg_ops(struct gpu_ops *gops); 31void 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);
77int gk20a_tsg_set_runlist_interleave(struct tsg_gk20a *tsg, u32 level); 70int gk20a_tsg_set_runlist_interleave(struct tsg_gk20a *tsg, u32 level);
78int gk20a_tsg_set_timeslice(struct tsg_gk20a *tsg, u32 timeslice); 71int gk20a_tsg_set_timeslice(struct tsg_gk20a *tsg, u32 timeslice);
72int 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_ */