Lines Matching refs:device_handle
38 static amdgpu_device_handle device_handle; variable
70 &minor_version, &device_handle)) in suite_cs_tests_enable()
73 family_id = device_handle->info.family_id; in suite_cs_tests_enable()
74 asic_id = device_handle->info.asic_id; in suite_cs_tests_enable()
76 if (amdgpu_device_deinitialize(device_handle)) in suite_cs_tests_enable()
98 &minor_version, &device_handle); in suite_cs_tests_init()
108 family_id = device_handle->info.family_id; in suite_cs_tests_init()
110 chip_rev = device_handle->info.chip_rev; in suite_cs_tests_init()
111 chip_id = device_handle->info.chip_external_rev; in suite_cs_tests_init()
113 r = amdgpu_cs_ctx_create(device_handle, &context_handle); in suite_cs_tests_init()
117 r = amdgpu_bo_alloc_and_map(device_handle, IB_SIZE, 4096, in suite_cs_tests_init()
146 r = amdgpu_device_deinitialize(device_handle); in suite_cs_tests_clean()
166 r = amdgpu_bo_list_create(device_handle, num_resources, resources, in submit()
218 r = amdgpu_bo_alloc(device_handle, &req, &buf_handle); in amdgpu_cs_uvd_create()
221 r = amdgpu_va_range_alloc(device_handle, in amdgpu_cs_uvd_create()
296 r = amdgpu_bo_alloc(device_handle, &req, &buf_handle); in amdgpu_cs_uvd_decode()
299 r = amdgpu_va_range_alloc(device_handle, in amdgpu_cs_uvd_decode()
429 r = amdgpu_bo_alloc(device_handle, &req, &buf_handle); in amdgpu_cs_uvd_destroy()
432 r = amdgpu_va_range_alloc(device_handle, in amdgpu_cs_uvd_destroy()