Lines Matching refs:device_handle
55 static amdgpu_device_handle device_handle; variable
101 &minor_version, &device_handle)) in suite_vcn_tests_enable()
104 family_id = device_handle->info.family_id; in suite_vcn_tests_enable()
105 asic_id = device_handle->info.asic_id; in suite_vcn_tests_enable()
106 chip_rev = device_handle->info.chip_rev; in suite_vcn_tests_enable()
107 chip_id = device_handle->info.chip_external_rev; in suite_vcn_tests_enable()
109 r = amdgpu_query_hw_ip_info(device_handle, AMDGPU_HW_IP_VCN_DEC, 0, &info); in suite_vcn_tests_enable()
111 if (amdgpu_device_deinitialize(device_handle)) in suite_vcn_tests_enable()
176 &minor_version, &device_handle); in suite_vcn_tests_init()
180 family_id = device_handle->info.family_id; in suite_vcn_tests_init()
182 r = amdgpu_cs_ctx_create(device_handle, &context_handle); in suite_vcn_tests_init()
186 r = amdgpu_bo_alloc_and_map(device_handle, IB_SIZE, 4096, in suite_vcn_tests_init()
209 r = amdgpu_device_deinitialize(device_handle); in suite_vcn_tests_clean()
229 r = amdgpu_bo_list_create(device_handle, num_resources, resources, in submit()
270 r = amdgpu_bo_alloc(device_handle, &req, &buf_handle); in alloc_resource()
272 r = amdgpu_va_range_alloc(device_handle, in alloc_resource()