aboutsummaryrefslogtreecommitdiffstats
path: root/tests/amdgpu/cs_tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/amdgpu/cs_tests.c')
-rw-r--r--tests/amdgpu/cs_tests.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/amdgpu/cs_tests.c b/tests/amdgpu/cs_tests.c
index 6d485ae3..5fb11b18 100644
--- a/tests/amdgpu/cs_tests.c
+++ b/tests/amdgpu/cs_tests.c
@@ -133,13 +133,6 @@ static int submit(unsigned ndw, unsigned ip)
if (r)
return r;
- r = amdgpu_cs_alloc_ib(context_handle, IB_SIZE, &ib_result);
- if (r)
- return r;
-
- ib_handle = ib_result.handle;
- ib_cpu = ib_result.cpu;
-
fence_status.context = context_handle;
fence_status.timeout_ns = AMDGPU_TIMEOUT_INFINITE;
fence_status.ip_type = ip;