Lines Matching refs:device_handle
35 static amdgpu_device_handle device_handle; variable
68 &minor_version, &device_handle); in suite_bo_tests_init()
82 r = amdgpu_bo_alloc(device_handle, &req, &buf_handle); in suite_bo_tests_init()
86 r = amdgpu_va_range_alloc(device_handle, in suite_bo_tests_init()
128 r = amdgpu_device_deinitialize(device_handle); in suite_bo_tests_clean()
144 r = amdgpu_bo_import(device_handle, type, shared_handle, &res); in amdgpu_bo_export_import_do_type()
208 bo = gpu_mem_alloc(device_handle, in amdgpu_memory_alloc()
218 bo = gpu_mem_alloc(device_handle, in amdgpu_memory_alloc()
228 bo = gpu_mem_alloc(device_handle, in amdgpu_memory_alloc()
237 bo = gpu_mem_alloc(device_handle, in amdgpu_memory_alloc()
247 bo = gpu_mem_alloc(device_handle, 1024, 0, in amdgpu_memory_alloc()
254 bo = gpu_mem_alloc(device_handle, 1, 0, in amdgpu_memory_alloc()
261 bo = gpu_mem_alloc(device_handle, 1, 0, in amdgpu_memory_alloc()
280 r = amdgpu_bo_alloc(device_handle, &req, &buf_handle); in amdgpu_mem_fail_alloc()
298 r = amdgpu_bo_alloc_and_map(device_handle, 4096, 4096, in amdgpu_bo_find_by_cpu_mapping()
304 r = amdgpu_find_bo_by_cpu_mapping(device_handle, in amdgpu_bo_find_by_cpu_mapping()