Lines Matching refs:device_handle
58 static amdgpu_device_handle device_handle; variable
93 &minor_version, &device_handle)) in suite_uvd_enc_tests_enable()
96 r = amdgpu_query_hw_ip_info(device_handle, AMDGPU_HW_IP_UVD_ENC, 0, &info); in suite_uvd_enc_tests_enable()
98 if (amdgpu_device_deinitialize(device_handle)) in suite_uvd_enc_tests_enable()
113 &minor_version, &device_handle); in suite_uvd_enc_tests_init()
117 family_id = device_handle->info.family_id; in suite_uvd_enc_tests_init()
119 r = amdgpu_cs_ctx_create(device_handle, &context_handle); in suite_uvd_enc_tests_init()
123 r = amdgpu_bo_alloc_and_map(device_handle, IB_SIZE, 4096, in suite_uvd_enc_tests_init()
146 r = amdgpu_device_deinitialize(device_handle); in suite_uvd_enc_tests_clean()
166 r = amdgpu_bo_list_create(device_handle, num_resources, resources, in submit()
207 r = amdgpu_bo_alloc(device_handle, &req, &buf_handle); in alloc_resource()
209 r = amdgpu_va_range_alloc(device_handle, in alloc_resource()