summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/fence_gk20a.h
diff options
context:
space:
mode:
authorKonsta Holtta <kholtta@nvidia.com>2017-04-06 03:48:35 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-04-11 12:57:21 -0400
commit1a4647272f4fe50137c79583b698c1ef6f5def12 (patch)
tree0eee9698405e4467a7644c74c3d41d4bca933a8f /drivers/gpu/nvgpu/gk20a/fence_gk20a.h
parent6de456f8407ba7230410175f1aff90541137d19b (diff)
gpu: nvgpu: remove fence dependency tracking
In preparation for better abstraction in job synchronization, drop support for the dependency fences tracked via submit pre-fences in semaphore-based syncs. This has only worked for semaphores, not nvhost syncpoints, and hasn't really been used. The dependency was printed in the sync framework's sync pt value string. Remove also the userspace-visible gk20a_sync_pt_info which is not used and depends on this feature (providing a duration since the dependency fence's timestamp). Jira NVGPU-43 Change-Id: Ia2b26502a9dc8f5bef5470f94b1475001f621da1 Signed-off-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-on: http://git-master/r/1456880 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/fence_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/fence_gk20a.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fence_gk20a.h b/drivers/gpu/nvgpu/gk20a/fence_gk20a.h
index fccf0c27..426556cc 100644
--- a/drivers/gpu/nvgpu/gk20a/fence_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/fence_gk20a.h
@@ -58,7 +58,6 @@ int gk20a_fence_from_semaphore(
58 struct sync_timeline *timeline, 58 struct sync_timeline *timeline,
59 struct nvgpu_semaphore *semaphore, 59 struct nvgpu_semaphore *semaphore,
60 wait_queue_head_t *semaphore_wq, 60 wait_queue_head_t *semaphore_wq,
61 struct sync_fence *dependency,
62 bool wfi, bool need_sync_fence); 61 bool wfi, bool need_sync_fence);
63 62
64int gk20a_fence_from_syncpt( 63int gk20a_fence_from_syncpt(