diff options
author | Sachit Kadle <skadle@nvidia.com> | 2016-08-23 16:41:49 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-09-20 13:43:37 -0400 |
commit | 101689dd8b536afa3ee7e265dc4ea846fa053767 (patch) | |
tree | ecba2d8c83f87509ff95ccae636bcf72c5bbd605 /drivers/gpu/nvgpu/gk20a/channel_gk20a.h | |
parent | 510cf2d2f39a4776db4cd162c7e7525dbe17c3eb (diff) |
gpu: nvgpu: remove last_submit tracking
We previously used to wait on the last_submit fence
before disabling a channel. Since this part of the
code is no longer exercised, we can remove this
tracking.
Bug 1795076
Change-Id: I54ba2ebaf48772aa775654c0fb4ab614a7167969
Signed-off-by: Sachit Kadle <skadle@nvidia.com>
Reviewed-on: http://git-master/r/1206585
Reviewed-by: Automatic_Commit_Validation_User
(cherry picked from commit e4e236f2b487b8cfa31f7afd29fad3c97de5f844)
Reviewed-on: http://git-master/r/1209166
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/channel_gk20a.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h index 9b909962..a44321bc 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h | |||
@@ -152,13 +152,6 @@ struct channel_gk20a { | |||
152 | struct channel_gk20a_timeout timeout; | 152 | struct channel_gk20a_timeout timeout; |
153 | struct channel_gk20a_clean_up clean_up; | 153 | struct channel_gk20a_clean_up clean_up; |
154 | 154 | ||
155 | bool cmds_pending; | ||
156 | struct { | ||
157 | struct gk20a_fence *pre_fence; | ||
158 | struct gk20a_fence *post_fence; | ||
159 | struct mutex fence_lock; | ||
160 | } last_submit; | ||
161 | |||
162 | #if defined(CONFIG_GK20A_CYCLE_STATS) | 155 | #if defined(CONFIG_GK20A_CYCLE_STATS) |
163 | struct { | 156 | struct { |
164 | void *cyclestate_buffer; | 157 | void *cyclestate_buffer; |
@@ -221,7 +214,6 @@ bool gk20a_channel_update_and_check_timeout(struct channel_gk20a *ch, | |||
221 | void gk20a_disable_channel(struct channel_gk20a *ch); | 214 | void gk20a_disable_channel(struct channel_gk20a *ch); |
222 | void gk20a_channel_abort(struct channel_gk20a *ch, bool channel_preempt); | 215 | void gk20a_channel_abort(struct channel_gk20a *ch, bool channel_preempt); |
223 | void gk20a_channel_abort_clean_up(struct channel_gk20a *ch); | 216 | void gk20a_channel_abort_clean_up(struct channel_gk20a *ch); |
224 | int gk20a_channel_finish(struct channel_gk20a *ch, unsigned long timeout); | ||
225 | void gk20a_set_error_notifier(struct channel_gk20a *ch, __u32 error); | 217 | void gk20a_set_error_notifier(struct channel_gk20a *ch, __u32 error); |
226 | void gk20a_channel_semaphore_wakeup(struct gk20a *g, bool post_events); | 218 | void gk20a_channel_semaphore_wakeup(struct gk20a *g, bool post_events); |
227 | int gk20a_channel_alloc_priv_cmdbuf(struct channel_gk20a *c, u32 size, | 219 | int gk20a_channel_alloc_priv_cmdbuf(struct channel_gk20a *c, u32 size, |