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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fence_gk20a.h b/drivers/gpu/nvgpu/gk20a/fence_gk20a.h
index 75e135e9..ff00bcf1 100644
--- a/drivers/gpu/nvgpu/gk20a/fence_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/fence_gk20a.h
@@ -59,6 +59,10 @@ struct gk20a_fence *gk20a_fence_from_syncpt(
59 u32 id, u32 value, bool wfi, 59 u32 id, u32 value, bool wfi,
60 bool need_sync_fence); 60 bool need_sync_fence);
61 61
62struct gk20a_fence *gk20a_alloc_fence(const struct gk20a_fence_ops *ops,
63 struct sync_fence *sync_fence,
64 bool wfi);
65
62/* Fence operations */ 66/* Fence operations */
63void gk20a_fence_put(struct gk20a_fence *f); 67void gk20a_fence_put(struct gk20a_fence *f);
64struct gk20a_fence *gk20a_fence_get(struct gk20a_fence *f); 68struct gk20a_fence *gk20a_fence_get(struct gk20a_fence *f);