Lines Matching refs:device_handle
30 static amdgpu_device_handle device_handle; variable
43 &minor_version, &device_handle)) in suite_vm_tests_enable()
46 if (device_handle->info.family_id == AMDGPU_FAMILY_SI) { in suite_vm_tests_enable()
51 if (amdgpu_device_deinitialize(device_handle)) in suite_vm_tests_enable()
62 &minor_version, &device_handle); in suite_vm_tests_init()
77 int r = amdgpu_device_deinitialize(device_handle); in suite_vm_tests_clean()
108 r = amdgpu_cs_ctx_create(device_handle, &context_handle); in amdgpu_vmid_reserve_test()
112 r = amdgpu_vm_reserve_vmid(device_handle, flags); in amdgpu_vmid_reserve_test()
116 r = amdgpu_bo_alloc_and_map(device_handle, 4096, 4096, in amdgpu_vmid_reserve_test()
122 r = amdgpu_get_bo_list(device_handle, ib_result_handle, NULL, in amdgpu_vmid_reserve_test()
166 r = amdgpu_vm_unreserve_vmid(device_handle, flags); in amdgpu_vmid_reserve_test()
188 r = amdgpu_bo_alloc(device_handle, &request, &buf_handle); in amdgpu_vm_unaligned_map()
193 r = amdgpu_va_range_alloc(device_handle, amdgpu_gpu_va_range_general, in amdgpu_vm_unaligned_map()
229 r = amdgpu_bo_alloc(device_handle, &req, &buf); in amdgpu_vm_mapping_test()
232 r = amdgpu_query_info(device_handle, AMDGPU_INFO_DEV_INFO, in amdgpu_vm_mapping_test()