Lines Matching refs:device_handle
55 static amdgpu_device_handle device_handle; variable
95 &minor_version, &device_handle)) in suite_vcn_tests_enable()
98 family_id = device_handle->info.family_id; in suite_vcn_tests_enable()
99 asic_id = device_handle->info.asic_id; in suite_vcn_tests_enable()
101 if (amdgpu_device_deinitialize(device_handle)) in suite_vcn_tests_enable()
141 &minor_version, &device_handle); in suite_vcn_tests_init()
145 family_id = device_handle->info.family_id; in suite_vcn_tests_init()
147 r = amdgpu_cs_ctx_create(device_handle, &context_handle); in suite_vcn_tests_init()
151 r = amdgpu_bo_alloc_and_map(device_handle, IB_SIZE, 4096, in suite_vcn_tests_init()
174 r = amdgpu_device_deinitialize(device_handle); in suite_vcn_tests_clean()
194 r = amdgpu_bo_list_create(device_handle, num_resources, resources, in submit()
235 r = amdgpu_bo_alloc(device_handle, &req, &buf_handle); in alloc_resource()
237 r = amdgpu_va_range_alloc(device_handle, in alloc_resource()