summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/fence_gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/fence_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/fence_gk20a.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fence_gk20a.h b/drivers/gpu/nvgpu/gk20a/fence_gk20a.h
index b4283f58..9d9fde85 100644
--- a/drivers/gpu/nvgpu/gk20a/fence_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/fence_gk20a.h
@@ -30,6 +30,8 @@ struct channel_gk20a;
30struct gk20a_fence_ops; 30struct gk20a_fence_ops;
31 31
32struct gk20a_fence { 32struct gk20a_fence {
33 struct gk20a *g;
34
33 /* Valid for all fence types: */ 35 /* Valid for all fence types: */
34 bool valid; 36 bool valid;
35 struct kref ref; 37 struct kref ref;
@@ -52,6 +54,7 @@ struct gk20a_fence {
52 54
53/* Fences can be created from semaphores or syncpoint (id, value) pairs */ 55/* Fences can be created from semaphores or syncpoint (id, value) pairs */
54int gk20a_fence_from_semaphore( 56int gk20a_fence_from_semaphore(
57 struct gk20a *g,
55 struct gk20a_fence *fence_out, 58 struct gk20a_fence *fence_out,
56 struct sync_timeline *timeline, 59 struct sync_timeline *timeline,
57 struct nvgpu_semaphore *semaphore, 60 struct nvgpu_semaphore *semaphore,