summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2019-07-09 10:00:31 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2019-07-09 10:00:31 +0000
commitf7efd7577935bb0bb66c30314427aeca6d19b470 (patch)
tree13afd55ae4101f60218d4691eb7d02271264e507
parentf2cdc088c48f185bcad53ab3d1f2b70acba3e295 (diff)
unstub dma_fence_wait_any_timeout() call in amdgpu_sa_bo_new()
-rw-r--r--sys/dev/pci/drm/amd/amdgpu/amdgpu_sa.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/dev/pci/drm/amd/amdgpu/amdgpu_sa.c b/sys/dev/pci/drm/amd/amdgpu/amdgpu_sa.c
index 614cba6767f..fb1667b35da 100644
--- a/sys/dev/pci/drm/amd/amdgpu/amdgpu_sa.c
+++ b/sys/dev/pci/drm/amd/amdgpu/amdgpu_sa.c
@@ -319,14 +319,9 @@ int amdgpu_sa_bo_new(struct amdgpu_sa_manager *sa_manager,
if (count) {
spin_unlock(&sa_manager->wq.lock);
-#ifdef notyet
t = dma_fence_wait_any_timeout(fences, count, false,
MAX_SCHEDULE_TIMEOUT,
NULL);
-#else
- STUB();
- t = -EINVAL;
-#endif
for (i = 0; i < count; ++i)
dma_fence_put(fences[i]);