diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/sync_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/sync_gk20a.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/sync_gk20a.h b/drivers/gpu/nvgpu/gk20a/sync_gk20a.h index 7d7aff6d..8a6439ab 100644 --- a/drivers/gpu/nvgpu/gk20a/sync_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/sync_gk20a.h | |||
@@ -3,7 +3,7 @@ | |||
3 | * | 3 | * |
4 | * GK20A Sync Framework Integration | 4 | * GK20A Sync Framework Integration |
5 | * | 5 | * |
6 | * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved. | 6 | * Copyright (c) 2014-2018, NVIDIA CORPORATION. All rights reserved. |
7 | * | 7 | * |
8 | * Permission is hereby granted, free of charge, to any person obtaining a | 8 | * Permission is hereby granted, free of charge, to any person obtaining a |
9 | * copy of this software and associated documentation files (the "Software"), | 9 | * copy of this software and associated documentation files (the "Software"), |
@@ -33,9 +33,6 @@ struct sync_pt; | |||
33 | struct nvgpu_semaphore; | 33 | struct nvgpu_semaphore; |
34 | struct fence; | 34 | struct fence; |
35 | 35 | ||
36 | int gk20a_is_sema_backed_sync_fence(struct sync_fence *fence); | ||
37 | struct nvgpu_semaphore *gk20a_sync_fence_get_sema(struct sync_fence *f); | ||
38 | |||
39 | #ifdef CONFIG_SYNC | 36 | #ifdef CONFIG_SYNC |
40 | struct sync_timeline *gk20a_sync_timeline_create(const char *fmt, ...); | 37 | struct sync_timeline *gk20a_sync_timeline_create(const char *fmt, ...); |
41 | void gk20a_sync_timeline_destroy(struct sync_timeline *); | 38 | void gk20a_sync_timeline_destroy(struct sync_timeline *); |
@@ -46,6 +43,7 @@ struct sync_fence *gk20a_sync_fence_create( | |||
46 | struct nvgpu_semaphore *, | 43 | struct nvgpu_semaphore *, |
47 | const char *fmt, ...); | 44 | const char *fmt, ...); |
48 | struct sync_fence *gk20a_sync_fence_fdget(int fd); | 45 | struct sync_fence *gk20a_sync_fence_fdget(int fd); |
46 | struct nvgpu_semaphore *gk20a_sync_pt_sema(struct sync_pt *spt); | ||
49 | #else | 47 | #else |
50 | static inline void gk20a_sync_timeline_destroy(struct sync_timeline *obj) {} | 48 | static inline void gk20a_sync_timeline_destroy(struct sync_timeline *obj) {} |
51 | static inline void gk20a_sync_timeline_signal(struct sync_timeline *obj) {} | 49 | static inline void gk20a_sync_timeline_signal(struct sync_timeline *obj) {} |