Home
last modified time | relevance | path

Searched refs:fence_status (Results 1 – 12 of 12) sorted by relevance

/third_party/libdrm/tests/amdgpu/
Ddeadlock_tests.c245 struct amdgpu_cs_fence fence_status; in amdgpu_deadlock_helper() local
304 memset(&fence_status, 0, sizeof(struct amdgpu_cs_fence)); in amdgpu_deadlock_helper()
305 fence_status.context = context_handle; in amdgpu_deadlock_helper()
306 fence_status.ip_type = ip_type; in amdgpu_deadlock_helper()
307 fence_status.ip_instance = 0; in amdgpu_deadlock_helper()
308 fence_status.ring = 0; in amdgpu_deadlock_helper()
309 fence_status.fence = ibs_request.seq_no; in amdgpu_deadlock_helper()
311 r = amdgpu_cs_query_fence_status(&fence_status, in amdgpu_deadlock_helper()
336 struct amdgpu_cs_fence fence_status; in amdgpu_deadlock_sdma() local
401 memset(&fence_status, 0, sizeof(struct amdgpu_cs_fence)); in amdgpu_deadlock_sdma()
[all …]
Dbasic_tests.c854 struct amdgpu_cs_fence fence_status = {0}; in amdgpu_command_submission_gfx_separate_ibs() local
911 fence_status.context = context_handle; in amdgpu_command_submission_gfx_separate_ibs()
912 fence_status.ip_type = AMDGPU_HW_IP_GFX; in amdgpu_command_submission_gfx_separate_ibs()
913 fence_status.ip_instance = 0; in amdgpu_command_submission_gfx_separate_ibs()
914 fence_status.fence = ibs_request.seq_no; in amdgpu_command_submission_gfx_separate_ibs()
916 r = amdgpu_cs_query_fence_status(&fence_status, in amdgpu_command_submission_gfx_separate_ibs()
945 struct amdgpu_cs_fence fence_status = {0}; in amdgpu_command_submission_gfx_shared_ib() local
995 fence_status.context = context_handle; in amdgpu_command_submission_gfx_shared_ib()
996 fence_status.ip_type = AMDGPU_HW_IP_GFX; in amdgpu_command_submission_gfx_shared_ib()
997 fence_status.ip_instance = 0; in amdgpu_command_submission_gfx_shared_ib()
[all …]
Dvm_tests.c104 struct amdgpu_cs_fence fence_status; in amdgpu_vmid_reserve_test() local
162 memset(&fence_status, 0, sizeof(struct amdgpu_cs_fence)); in amdgpu_vmid_reserve_test()
163 fence_status.context = context_handle; in amdgpu_vmid_reserve_test()
164 fence_status.ip_type = gc_ip_type; in amdgpu_vmid_reserve_test()
165 fence_status.ip_instance = 0; in amdgpu_vmid_reserve_test()
166 fence_status.ring = 0; in amdgpu_vmid_reserve_test()
167 fence_status.fence = ibs_request.seq_no; in amdgpu_vmid_reserve_test()
169 r = amdgpu_cs_query_fence_status(&fence_status, in amdgpu_vmid_reserve_test()
Damdgpu_stress.c186 struct amdgpu_cs_fence fence_status; in submit_ib() local
257 memset(&fence_status, 0, sizeof(fence_status)); in submit_ib()
258 fence_status.ip_type = ibs_request.ip_type; in submit_ib()
259 fence_status.ip_instance = 0; in submit_ib()
260 fence_status.ring = ibs_request.ring; in submit_ib()
261 fence_status.context = context_handle; in submit_ib()
262 fence_status.fence = ibs_request.seq_no; in submit_ib()
263 r = amdgpu_cs_query_fence_status(&fence_status, in submit_ib()
Dsyncobj_tests.c100 struct amdgpu_cs_fence fence_status; in syncobj_command_submission_helper() local
168 memset(&fence_status, 0, sizeof(struct amdgpu_cs_fence)); in syncobj_command_submission_helper()
169 fence_status.context = context_handle; in syncobj_command_submission_helper()
170 fence_status.ip_type = wait_or_signal ? gc_ip_type : in syncobj_command_submission_helper()
172 fence_status.ip_instance = 0; in syncobj_command_submission_helper()
173 fence_status.ring = 0; in syncobj_command_submission_helper()
174 fence_status.fence = seq_no; in syncobj_command_submission_helper()
176 r = amdgpu_cs_query_fence_status(&fence_status, in syncobj_command_submission_helper()
Dhotunplug_tests.c361 struct amdgpu_cs_fence fence_status = {0}; in amdgpu_hotunplug_with_exported_fence() local
399 fence_status.context = context; in amdgpu_hotunplug_with_exported_fence()
400 fence_status.ip_type = AMDGPU_HW_IP_GFX; in amdgpu_hotunplug_with_exported_fence()
401 fence_status.ip_instance = 0; in amdgpu_hotunplug_with_exported_fence()
402 fence_status.fence = ibs_request.seq_no; in amdgpu_hotunplug_with_exported_fence()
404 CU_ASSERT_EQUAL(amdgpu_cs_fence_to_handle(device_handle, &fence_status, in amdgpu_hotunplug_with_exported_fence()
Dvcn_tests.c196 struct amdgpu_cs_fence fence_status = {0}; in submit() local
222 fence_status.context = context_handle; in submit()
223 fence_status.ip_type = ip; in submit()
224 fence_status.fence = ibs_request.seq_no; in submit()
226 r = amdgpu_cs_query_fence_status(&fence_status, in submit()
Dcs_tests.c156 struct amdgpu_cs_fence fence_status = {0}; in submit() local
182 fence_status.context = context_handle; in submit()
183 fence_status.ip_type = ip; in submit()
184 fence_status.fence = ibs_request.seq_no; in submit()
186 r = amdgpu_cs_query_fence_status(&fence_status, in submit()
Dcp_dma_tests.c210 struct amdgpu_cs_fence fence_status = {0}; in submit_and_sync() local
245 fence_status.context = context_handle; in submit_and_sync()
246 fence_status.ip_type = gc_ip_type; in submit_and_sync()
247 fence_status.fence = ibs_request.seq_no; in submit_and_sync()
249 r = amdgpu_cs_query_fence_status(&fence_status, in submit_and_sync()
Duvd_enc_tests.c157 struct amdgpu_cs_fence fence_status = {0}; in submit() local
183 fence_status.context = context_handle; in submit()
184 fence_status.ip_type = ip; in submit()
185 fence_status.fence = ibs_request.seq_no; in submit()
187 r = amdgpu_cs_query_fence_status(&fence_status, in submit()
Djpeg_tests.c239 struct amdgpu_cs_fence fence_status = {0}; in submit() local
265 fence_status.context = context_handle; in submit()
266 fence_status.ip_type = ip; in submit()
267 fence_status.fence = ibs_request.seq_no; in submit()
269 r = amdgpu_cs_query_fence_status(&fence_status, AMDGPU_TIMEOUT_INFINITE, 0, in submit()
Dvce_tests.c201 struct amdgpu_cs_fence fence_status = {0}; in submit() local
227 fence_status.context = context_handle; in submit()
228 fence_status.ip_type = ip; in submit()
229 fence_status.fence = ibs_request.seq_no; in submit()
231 r = amdgpu_cs_query_fence_status(&fence_status, in submit()