aboutsummaryrefslogtreecommitdiffstats
path: root/tests/amdgpu/cs_tests.c
diff options
context:
space:
mode:
authorJammy Zhou <Jammy.Zhou@amd.com>2015-05-25 20:38:03 +0800
committerAlex Deucher <alexander.deucher@amd.com>2015-08-05 13:47:50 -0400
commit1041cfdc38692721364557ce61d7abe71a1a9cbf (patch)
tree173841adc3e7a4d0505c3d5a90974f80bd6c0e63 /tests/amdgpu/cs_tests.c
parent40c53360437fec5faee83f0b64bb6756926d2fe0 (diff)
downloadexternal_libdrm-1041cfdc38692721364557ce61d7abe71a1a9cbf.tar.gz
external_libdrm-1041cfdc38692721364557ce61d7abe71a1a9cbf.tar.bz2
external_libdrm-1041cfdc38692721364557ce61d7abe71a1a9cbf.zip
tests/amdgpu: manage IB in client side
Signed-off-by: Jammy Zhou <Jammy.Zhou@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
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;