diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2018-03-15 09:34:14 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-03-16 20:12:03 -0400 |
commit | 9f9035d10bdbd56e13697aab44bc36b4bd9275cd (patch) | |
tree | b43b0ee7fb26fbbedba36e08798d8c8636cfb720 /drivers/gpu/nvgpu/common | |
parent | 0378bc32e4db87dd7bb58fce2f85cd4ff436506a (diff) |
gpu: nvgpu: remove fence param from channel_sync
The fence parameter that gets output from gk20a_channel_sync's wait()
and wait_fd() APIs is no longer used for anything. Delete it.
Jira NVGPU-527
Jira NVGPU-528
Bug 200390539
Change-Id: I659504062dc6aee83a0a0d9f5625372b4ae8c0e2
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1676734
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: Alex Waterman <alexw@nvidia.com>
GVS: Gerrit_Virtual_Submit
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/common')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/channel.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/channel.c b/drivers/gpu/nvgpu/common/linux/channel.c index ea294738..cd9cadf8 100644 --- a/drivers/gpu/nvgpu/common/linux/channel.c +++ b/drivers/gpu/nvgpu/common/linux/channel.c | |||
@@ -488,11 +488,11 @@ static int gk20a_submit_prepare_syncs(struct channel_gk20a *c, | |||
488 | if (flags & NVGPU_SUBMIT_GPFIFO_FLAGS_SYNC_FENCE) { | 488 | if (flags & NVGPU_SUBMIT_GPFIFO_FLAGS_SYNC_FENCE) { |
489 | wait_fence_fd = fence->id; | 489 | wait_fence_fd = fence->id; |
490 | err = c->sync->wait_fd(c->sync, wait_fence_fd, | 490 | err = c->sync->wait_fd(c->sync, wait_fence_fd, |
491 | job->wait_cmd, job->pre_fence); | 491 | job->wait_cmd); |
492 | } else { | 492 | } else { |
493 | err = c->sync->wait_syncpt(c->sync, fence->id, | 493 | err = c->sync->wait_syncpt(c->sync, fence->id, |
494 | fence->value, job->wait_cmd, | 494 | fence->value, |
495 | job->pre_fence); | 495 | job->wait_cmd); |
496 | } | 496 | } |
497 | 497 | ||
498 | if (!err) { | 498 | if (!err) { |