gpu: nvgpu: remove user sync related apis

Set safe state and get syncpt address in the kernel submission tracking
syncs was implemented for userspace syncs. Now that it's clear that the
user sync object provides them, there are no users left for these APIs.
Remove them.

Jira NVGPU-4548

Change-Id: I58e04162dee55bb8d8547c9252033f40ed908144
Signed-off-by: Konsta Hölttä <kholtta@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2321950
(cherry picked from commit a95c8f7ace562a11ca235d71496d3a7ce150bc7d)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2324251
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Konsta Hölttä
2020-04-01 14:19:58 +03:00
committed by Alex Waterman
parent 60e1cf334a
commit 2d9b839f21
7 changed files with 5 additions and 64 deletions

View File

@@ -94,16 +94,7 @@ bool nvgpu_channel_sync_put_ref_and_check(struct nvgpu_channel_sync *s)
return nvgpu_atomic_dec_and_test(&s->refcount);
}
void nvgpu_channel_sync_set_safe_state(struct nvgpu_channel_sync *s)
void nvgpu_channel_sync_destroy(struct nvgpu_channel_sync *sync)
{
s->ops->set_safe_state(s);
}
void nvgpu_channel_sync_destroy(struct nvgpu_channel_sync *sync,
bool set_safe_state)
{
if (set_safe_state) {
sync->ops->set_safe_state(sync);
}
sync->ops->destroy(sync);
}