diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2017-04-06 03:48:35 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-04-11 12:57:21 -0400 |
commit | 1a4647272f4fe50137c79583b698c1ef6f5def12 (patch) | |
tree | 0eee9698405e4467a7644c74c3d41d4bca933a8f /include | |
parent | 6de456f8407ba7230410175f1aff90541137d19b (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 'include')
-rw-r--r-- | include/uapi/linux/nvgpu.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/uapi/linux/nvgpu.h b/include/uapi/linux/nvgpu.h index ca9b49e6..e25667cb 100644 --- a/include/uapi/linux/nvgpu.h +++ b/include/uapi/linux/nvgpu.h | |||
@@ -1354,10 +1354,6 @@ struct nvgpu_alloc_gpfifo_ex_args { | |||
1354 | __u32 reserved[5]; | 1354 | __u32 reserved[5]; |
1355 | }; | 1355 | }; |
1356 | 1356 | ||
1357 | struct gk20a_sync_pt_info { | ||
1358 | __u64 hw_op_ns; | ||
1359 | }; | ||
1360 | |||
1361 | struct nvgpu_fence { | 1357 | struct nvgpu_fence { |
1362 | __u32 id; /* syncpoint id or sync fence fd */ | 1358 | __u32 id; /* syncpoint id or sync fence fd */ |
1363 | __u32 value; /* syncpoint value (discarded when using sync fence) */ | 1359 | __u32 value; /* syncpoint value (discarded when using sync fence) */ |