diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.h b/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.h index c3a92ad2..5e75dd9b 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.h | |||
@@ -57,7 +57,8 @@ struct gk20a_channel_sync { | |||
57 | int (*incr)(struct gk20a_channel_sync *s, | 57 | int (*incr)(struct gk20a_channel_sync *s, |
58 | struct priv_cmd_entry *entry, | 58 | struct priv_cmd_entry *entry, |
59 | struct gk20a_fence *fence, | 59 | struct gk20a_fence *fence, |
60 | bool need_sync_fence); | 60 | bool need_sync_fence, |
61 | bool register_irq); | ||
61 | 62 | ||
62 | /* Increment syncpoint/semaphore, preceded by a wfi. | 63 | /* Increment syncpoint/semaphore, preceded by a wfi. |
63 | * Returns | 64 | * Returns |
@@ -80,7 +81,8 @@ struct gk20a_channel_sync { | |||
80 | struct priv_cmd_entry *entry, | 81 | struct priv_cmd_entry *entry, |
81 | struct gk20a_fence *fence, | 82 | struct gk20a_fence *fence, |
82 | bool wfi, | 83 | bool wfi, |
83 | bool need_sync_fence); | 84 | bool need_sync_fence, |
85 | bool register_irq); | ||
84 | 86 | ||
85 | /* Reset the channel syncpoint/semaphore. */ | 87 | /* Reset the channel syncpoint/semaphore. */ |
86 | void (*set_min_eq_max)(struct gk20a_channel_sync *s); | 88 | void (*set_min_eq_max)(struct gk20a_channel_sync *s); |
@@ -99,5 +101,6 @@ struct gk20a_channel_sync { | |||
99 | 101 | ||
100 | void gk20a_channel_sync_destroy(struct gk20a_channel_sync *sync); | 102 | void gk20a_channel_sync_destroy(struct gk20a_channel_sync *sync); |
101 | struct gk20a_channel_sync *gk20a_channel_sync_create(struct channel_gk20a *c); | 103 | struct gk20a_channel_sync *gk20a_channel_sync_create(struct channel_gk20a *c); |
104 | bool gk20a_channel_sync_needs_sync_framework(struct channel_gk20a *c); | ||
102 | 105 | ||
103 | #endif | 106 | #endif |