diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.h | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.h b/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.h index dd0213dc..3f44b27a 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.h | |||
@@ -37,24 +37,16 @@ struct gk20a_channel_sync { | |||
37 | nvgpu_atomic_t refcount; | 37 | nvgpu_atomic_t refcount; |
38 | 38 | ||
39 | /* Generate a gpu wait cmdbuf from syncpoint. | 39 | /* Generate a gpu wait cmdbuf from syncpoint. |
40 | * Returns | 40 | * Returns a gpu cmdbuf that performs the wait when executed |
41 | * - a gpu cmdbuf that performs the wait when executed, | ||
42 | * - possibly a helper fence that the caller must hold until the | ||
43 | * cmdbuf is executed. | ||
44 | */ | 41 | */ |
45 | int (*wait_syncpt)(struct gk20a_channel_sync *s, u32 id, u32 thresh, | 42 | int (*wait_syncpt)(struct gk20a_channel_sync *s, u32 id, u32 thresh, |
46 | struct priv_cmd_entry *entry, | 43 | struct priv_cmd_entry *entry); |
47 | struct gk20a_fence *fence); | ||
48 | 44 | ||
49 | /* Generate a gpu wait cmdbuf from sync fd. | 45 | /* Generate a gpu wait cmdbuf from sync fd. |
50 | * Returns | 46 | * Returns a gpu cmdbuf that performs the wait when executed |
51 | * - a gpu cmdbuf that performs the wait when executed, | ||
52 | * - possibly a helper fence that the caller must hold until the | ||
53 | * cmdbuf is executed. | ||
54 | */ | 47 | */ |
55 | int (*wait_fd)(struct gk20a_channel_sync *s, int fd, | 48 | int (*wait_fd)(struct gk20a_channel_sync *s, int fd, |
56 | struct priv_cmd_entry *entry, | 49 | struct priv_cmd_entry *entry); |
57 | struct gk20a_fence *fence); | ||
58 | 50 | ||
59 | /* Increment syncpoint/semaphore. | 51 | /* Increment syncpoint/semaphore. |
60 | * Returns | 52 | * Returns |