Lines Matching refs:device_handle
64 static amdgpu_device_handle device_handle; variable
103 &minor_version, &device_handle)) in suite_vce_tests_enable()
106 family_id = device_handle->info.family_id; in suite_vce_tests_enable()
107 chip_rev = device_handle->info.chip_rev; in suite_vce_tests_enable()
108 chip_id = device_handle->info.chip_external_rev; in suite_vce_tests_enable()
109 ids_flags = device_handle->info.ids_flags; in suite_vce_tests_enable()
110 asic_id = device_handle->info.asic_id; in suite_vce_tests_enable()
112 amdgpu_query_firmware_version(device_handle, AMDGPU_INFO_FW_VCE, 0, in suite_vce_tests_enable()
115 if (amdgpu_device_deinitialize(device_handle)) in suite_vce_tests_enable()
148 &minor_version, &device_handle); in suite_vce_tests_init()
158 family_id = device_handle->info.family_id; in suite_vce_tests_init()
159 vce_harvest_config = device_handle->info.vce_harvest_config; in suite_vce_tests_init()
161 r = amdgpu_cs_ctx_create(device_handle, &context_handle); in suite_vce_tests_init()
165 r = amdgpu_bo_alloc_and_map(device_handle, IB_SIZE, 4096, in suite_vce_tests_init()
190 r = amdgpu_device_deinitialize(device_handle); in suite_vce_tests_clean()
210 r = amdgpu_bo_list_create(device_handle, num_resources, resources, in submit()
250 r = amdgpu_bo_alloc(device_handle, &req, &buf_handle); in alloc_resource()
252 r = amdgpu_va_range_alloc(device_handle, in alloc_resource()