summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
diff options
context:
space:
mode:
authorKonsta Holtta <kholtta@nvidia.com>2018-03-15 09:46:52 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-03-19 14:26:02 -0400
commit2aad9366fe6d5f537751b5b16a82231e2c4b1bdf (patch)
treef28b216916430d37a3ce1620d8362b9164c0cb68 /drivers/gpu/nvgpu/gk20a/channel_gk20a.c
parent395496bd6a01529a803995d38c5e15572d6d7733 (diff)
gpu: nvgpu: delete unused job->pre_fence
The pre_fence member in channel_gk20a_job is no longer used for anything. Delete it. Only the post fence needs to be tracked. Jira NVGPU-527 Jira NVGPU-528 Bug 200390539 Change-Id: Ia1a556728dabf9a8e305ed76020ac1aa0b4d6b88 Signed-off-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1676735 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/channel_gk20a.c5
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