Lines Matching refs:device_handle
43 static amdgpu_device_handle device_handle;
61 amdgpu_device_deinitialize(device_handle);
66 &minor_version, &device_handle))
73 if (amdgpu_device_deinitialize(device_handle))
122 &minor_version, &device_handle);
146 if (amdgpu_device_deinitialize(device_handle))
198 r = amdgpu_cs_ctx_create(device_handle, &context);
201 r = amdgpu_bo_alloc_and_map(device_handle, 4096, 4096,
211 r = amdgpu_bo_list_create(device_handle, 1, &ib_result_handle, NULL, &bo_list);
321 amdgpu_bo_alloc(device_handle, &request, &bo_handle);
370 r = amdgpu_cs_ctx_create(device_handle, &context);
373 r = amdgpu_bo_alloc_and_map(device_handle, 4096, 4096,
383 r = amdgpu_bo_list_create(device_handle, 1, &ib_result_handle, NULL, &bo_list);
404 CU_ASSERT_EQUAL(amdgpu_cs_fence_to_handle(device_handle, &fence_status,
409 CU_ASSERT_EQUAL(amdgpu_cs_export_syncobj(device_handle, sync_obj_handle, &shared_fd), 0);
413 CU_ASSERT_EQUAL(amdgpu_cs_destroy_syncobj(device_handle, sync_obj_handle), 0);