summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r--drivers/gpu/nvgpu/gk20a/channel_gk20a.c5
-rw-r--r--drivers/gpu/nvgpu/gk20a/channel_gk20a.h1
2 files changed, 2 insertions, 4 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
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
index 947b8913..473248ec 100644
--- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
@@ -58,7 +58,6 @@ struct notification {
58struct channel_gk20a_job { 58struct channel_gk20a_job {
59 struct nvgpu_mapped_buf **mapped_buffers; 59 struct nvgpu_mapped_buf **mapped_buffers;
60 int num_mapped_buffers; 60 int num_mapped_buffers;
61 struct gk20a_fence *pre_fence;
62 struct gk20a_fence *post_fence; 61 struct gk20a_fence *post_fence;
63 struct priv_cmd_entry *wait_cmd; 62 struct priv_cmd_entry *wait_cmd;
64 struct priv_cmd_entry *incr_cmd; 63 struct priv_cmd_entry *incr_cmd;