summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index 3b8c5cd2..9061236e 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -148,6 +148,14 @@ enum gk20a_cbc_op {
148enum nvgpu_unit; 148enum nvgpu_unit;
149 149
150enum nvgpu_flush_op; 150enum nvgpu_flush_op;
151
152struct _resmgr_context;
153
154struct nvgpu_gpfifo_userdata {
155 struct nvgpu_gpfifo_entry __user *entries;
156 struct _resmgr_context *context;
157};
158
151/* 159/*
152 * gpu_ops should only contain function pointers! Non-function pointer members 160 * gpu_ops should only contain function pointers! Non-function pointer members
153 * should go in struct gk20a or be implemented with the boolean flag API defined 161 * should go in struct gk20a or be implemented with the boolean flag API defined
@@ -1488,6 +1496,9 @@ struct gk20a {
1488 struct channel_gk20a *ch, const char *fmt, ...); 1496 struct channel_gk20a *ch, const char *fmt, ...);
1489 void (*signal_os_fence_framework)(struct channel_gk20a *ch); 1497 void (*signal_os_fence_framework)(struct channel_gk20a *ch);
1490 void (*destroy_os_fence_framework)(struct channel_gk20a *ch); 1498 void (*destroy_os_fence_framework)(struct channel_gk20a *ch);
1499 int (*copy_user_gpfifo)(struct nvgpu_gpfifo_entry *dest,
1500 struct nvgpu_gpfifo_userdata userdata,
1501 u32 start, u32 length);
1491 } os_channel; 1502 } os_channel;
1492 1503
1493 struct gk20a_scale_profile *scale_profile; 1504 struct gk20a_scale_profile *scale_profile;