diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/channel_gk20a.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c index fb7406da..78953558 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c | |||
@@ -1924,9 +1924,8 @@ void gk20a_channel_clean_up_jobs(struct channel_gk20a *c, | |||
1924 | channel_gk20a_joblist_delete(c, job); | 1924 | channel_gk20a_joblist_delete(c, job); |
1925 | channel_gk20a_joblist_unlock(c); | 1925 | channel_gk20a_joblist_unlock(c); |
1926 | 1926 | ||
1927 | /* Close the fences (this will unref the semaphores and release | 1927 | /* Close the fence (this will unref the semaphore and release |
1928 | * them to the pool). */ | 1928 | * it to the pool). */ |
1929 | gk20a_fence_put(job->pre_fence); | ||
1930 | gk20a_fence_put(job->post_fence); | 1929 | gk20a_fence_put(job->post_fence); |
1931 | 1930 | ||
1932 | /* Free the private command buffers (wait_cmd first and | 1931 | /* Free the private command buffers (wait_cmd first and |