Lines Matching full:device_handle
40 static amdgpu_device_handle device_handle;
85 &minor_version, &device_handle);
95 int r = amdgpu_device_deinitialize(device_handle);
109 r = amdgpu_query_gpu_info(device_handle, &gpu_info);
112 r = amdgpu_query_firmware_version(device_handle, AMDGPU_INFO_FW_VCE, 0,
125 bo = gpu_mem_alloc(device_handle,
135 bo = gpu_mem_alloc(device_handle,
145 bo = gpu_mem_alloc(device_handle,
154 bo = gpu_mem_alloc(device_handle,
179 r = amdgpu_cs_ctx_create(device_handle, &context_handle);
182 r = amdgpu_bo_alloc_and_map(device_handle, 4096, 4096,
188 r = amdgpu_bo_alloc_and_map(device_handle, 4096, 4096,
194 r = amdgpu_get_bo_list(device_handle, ib_result_handle,
267 r = amdgpu_cs_ctx_create(device_handle, &context_handle);
270 r = amdgpu_bo_alloc_and_map(device_handle, 4096, 4096,
276 r = amdgpu_get_bo_list(device_handle, ib_result_handle, NULL,
351 r = amdgpu_cs_ctx_create(device_handle, &context_handle);
355 r = amdgpu_bo_alloc_and_map(device_handle, 4096, 4096,
361 r = amdgpu_get_bo_list(device_handle, ib_result_handle, NULL,
436 r = amdgpu_bo_alloc_and_map(device_handle, 4096, 4096,
458 r = amdgpu_bo_list_create(device_handle, res_cnt+1, all_res,
513 r = amdgpu_cs_ctx_create(device_handle, &context_handle);
523 r = amdgpu_bo_alloc_and_map(device_handle,
598 r = amdgpu_cs_ctx_create(device_handle, &context_handle);
608 r = amdgpu_bo_alloc_and_map(device_handle,
681 r = amdgpu_cs_ctx_create(device_handle, &context_handle);
693 r = amdgpu_bo_alloc_and_map(device_handle,
705 r = amdgpu_bo_alloc_and_map(device_handle,
792 r = amdgpu_cs_ctx_create(device_handle, &context_handle);
799 r = amdgpu_create_bo_from_user_mem(device_handle,
803 r = amdgpu_va_range_alloc(device_handle,