diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2018-03-16 12:10:33 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-03-16 20:11:03 -0400 |
commit | 69252b3fb629d9534e7a9c4e3b75d3462653f00d (patch) | |
tree | 3297d9f0a4c26b01dd018d2e132dc1c872e3c831 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 703c1ea59638151846690e02d098cad83b7d6a78 (diff) |
gpu: nvgpu: remove support for foreign sema syncfds
Delete the proxy waiter for non-semaphore-backed syncfds in sema wait
path to simplify code, to remove dependencies to the sync framework (and
thus Linux) and to support upcoming refactorings. This feature has never
been used for actually foreign fences.
Jira NVGPU-43
Jira NVGPU-66
Change-Id: I2b539aefd2d096a7bf5f40e61d48de7a9b3dccae
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1665119
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/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index dd9cb3ce..c1824b07 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -1306,10 +1306,6 @@ struct gk20a { | |||
1306 | */ | 1306 | */ |
1307 | struct nvgpu_semaphore_sea *sema_sea; | 1307 | struct nvgpu_semaphore_sea *sema_sea; |
1308 | 1308 | ||
1309 | /* List of pending SW semaphore waits. */ | ||
1310 | struct nvgpu_list_node pending_sema_waits; | ||
1311 | struct nvgpu_raw_spinlock pending_sema_waits_lock; | ||
1312 | |||
1313 | /* held while manipulating # of debug/profiler sessions present */ | 1309 | /* held while manipulating # of debug/profiler sessions present */ |
1314 | /* also prevents debug sessions from attaching until released */ | 1310 | /* also prevents debug sessions from attaching until released */ |
1315 | struct nvgpu_mutex dbg_sessions_lock; | 1311 | struct nvgpu_mutex dbg_sessions_lock; |