tests/amdgpu: remove the duplicate IB allocation for VCE test

Signed-off-by: Jammy Zhou <Jammy.Zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
main
Jammy Zhou 2015-07-13 22:43:29 +08:00 committed by Alex Deucher
parent 90e14d453a
commit 872a5c714a
1 changed files with 0 additions and 8 deletions

View File

@ -156,14 +156,6 @@ static int submit(unsigned ndw, unsigned ip)
if (r)
return r;
r = amdgpu_bo_alloc_and_map(device_handle, IB_SIZE, 4096,
AMDGPU_GEM_DOMAIN_GTT, 0,
&ib_handle, (void**)&ib_cpu,
&ib_mc_address);
if (r)
return r;
resources[num_resources-1] = ib_handle;
fence_status.context = context_handle;
fence_status.ip_type = ip;