summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2019-07-09 09:59:18 +0000
committerjsg <jsg@openbsd.org>2019-07-09 09:59:18 +0000
commitacad01f742994b483d4d9a719d488087b21ebcb3 (patch)
tree35dd77fbaffd1cc8d67267df6407dee223068d39 /sys/dev/pci/drm/amd/amdgpu/amdgpu_cs.c
parentUse wake_up_process() instead of wakeup() in dma_fence_default_wait_cb() (diff)
downloadwireguard-openbsd-acad01f742994b483d4d9a719d488087b21ebcb3.tar.xz
wireguard-openbsd-acad01f742994b483d4d9a719d488087b21ebcb3.zip
unstub amdgpu_cs_wait_any_fence()
Diffstat (limited to 'sys/dev/pci/drm/amd/amdgpu/amdgpu_cs.c')
-rw-r--r--sys/dev/pci/drm/amd/amdgpu/amdgpu_cs.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/pci/drm/amd/amdgpu/amdgpu_cs.c b/sys/dev/pci/drm/amd/amdgpu/amdgpu_cs.c
index d03db3eaffe..d3fd9e861ee 100644
--- a/sys/dev/pci/drm/amd/amdgpu/amdgpu_cs.c
+++ b/sys/dev/pci/drm/amd/amdgpu/amdgpu_cs.c
@@ -1537,9 +1537,6 @@ static int amdgpu_cs_wait_any_fence(struct amdgpu_device *adev,
union drm_amdgpu_wait_fences *wait,
struct drm_amdgpu_fence *fences)
{
- STUB();
- return -ENOSYS;
-#if 0
unsigned long timeout = amdgpu_gem_timeout(wait->in.timeout_ns);
uint32_t fence_count = wait->in.fence_count;
uint32_t first = ~0;
@@ -1590,7 +1587,6 @@ err_free_fence_array:
kfree(array);
return r;
-#endif
}
/**