summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/ctxsw_trace_gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/ctxsw_trace_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/ctxsw_trace_gk20a.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/ctxsw_trace_gk20a.h b/drivers/gpu/nvgpu/gk20a/ctxsw_trace_gk20a.h
index 5262538a..887fe415 100644
--- a/drivers/gpu/nvgpu/gk20a/ctxsw_trace_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/ctxsw_trace_gk20a.h
@@ -35,12 +35,14 @@ long gk20a_ctxsw_dev_ioctl(struct file *filp,
35ssize_t gk20a_ctxsw_dev_read(struct file *, char __user *, size_t, loff_t *); 35ssize_t gk20a_ctxsw_dev_read(struct file *, char __user *, size_t, loff_t *);
36unsigned int gk20a_ctxsw_dev_poll(struct file *, struct poll_table_struct *); 36unsigned int gk20a_ctxsw_dev_poll(struct file *, struct poll_table_struct *);
37int gk20a_ctxsw_dev_mmap(struct file *, struct vm_area_struct *); 37int gk20a_ctxsw_dev_mmap(struct file *, struct vm_area_struct *);
38int gk20a_ctxsw_dev_ring_alloc(struct gk20a *g, void **buf, size_t *size);
39int gk20a_ctxsw_dev_ring_free(struct gk20a *g);
40int gk20a_ctxsw_dev_mmap_buffer(struct gk20a *g, struct vm_area_struct *vma);
38 41
39int gk20a_ctxsw_trace_init(struct gk20a *); 42int gk20a_ctxsw_trace_init(struct gk20a *);
40void gk20a_ctxsw_trace_cleanup(struct gk20a *); 43void gk20a_ctxsw_trace_cleanup(struct gk20a *);
41int gk20a_ctxsw_trace_write(struct gk20a *, struct nvgpu_ctxsw_trace_entry *); 44int gk20a_ctxsw_trace_write(struct gk20a *, struct nvgpu_ctxsw_trace_entry *);
42void gk20a_ctxsw_trace_wake_up(struct gk20a *g, int vmid); 45void gk20a_ctxsw_trace_wake_up(struct gk20a *g, int vmid);
43void gk20a_ctxsw_trace_init_ops(struct gpu_ops *ops);
44 46
45void gk20a_ctxsw_trace_channel_reset(struct gk20a *g, struct channel_gk20a *ch); 47void gk20a_ctxsw_trace_channel_reset(struct gk20a *g, struct channel_gk20a *ch);
46void gk20a_ctxsw_trace_tsg_reset(struct gk20a *g, struct tsg_gk20a *tsg); 48void gk20a_ctxsw_trace_tsg_reset(struct gk20a *g, struct tsg_gk20a *tsg);