Lines Matching refs:fence_status
364 struct amdgpu_cs_fence fence_status = {0}; in amdgpu_command_submission_gfx_separate_ibs() local
419 fence_status.context = context_handle; in amdgpu_command_submission_gfx_separate_ibs()
420 fence_status.ip_type = AMDGPU_HW_IP_GFX; in amdgpu_command_submission_gfx_separate_ibs()
421 fence_status.ip_instance = 0; in amdgpu_command_submission_gfx_separate_ibs()
422 fence_status.fence = ibs_request.seq_no; in amdgpu_command_submission_gfx_separate_ibs()
424 r = amdgpu_cs_query_fence_status(&fence_status, in amdgpu_command_submission_gfx_separate_ibs()
449 struct amdgpu_cs_fence fence_status = {0}; in amdgpu_command_submission_gfx_shared_ib() local
497 fence_status.context = context_handle; in amdgpu_command_submission_gfx_shared_ib()
498 fence_status.ip_type = AMDGPU_HW_IP_GFX; in amdgpu_command_submission_gfx_shared_ib()
499 fence_status.ip_instance = 0; in amdgpu_command_submission_gfx_shared_ib()
500 fence_status.fence = ibs_request.seq_no; in amdgpu_command_submission_gfx_shared_ib()
502 r = amdgpu_cs_query_fence_status(&fence_status, in amdgpu_command_submission_gfx_shared_ib()
555 struct amdgpu_cs_fence fence_status = {}; in amdgpu_semaphore_test() local
611 fence_status.context = context_handle[0]; in amdgpu_semaphore_test()
612 fence_status.ip_type = AMDGPU_HW_IP_GFX; in amdgpu_semaphore_test()
613 fence_status.ip_instance = 0; in amdgpu_semaphore_test()
614 fence_status.fence = ibs_request[1].seq_no; in amdgpu_semaphore_test()
615 r = amdgpu_cs_query_fence_status(&fence_status, in amdgpu_semaphore_test()
652 fence_status.context = context_handle[1]; in amdgpu_semaphore_test()
653 fence_status.ip_type = AMDGPU_HW_IP_GFX; in amdgpu_semaphore_test()
654 fence_status.ip_instance = 0; in amdgpu_semaphore_test()
655 fence_status.fence = ibs_request[1].seq_no; in amdgpu_semaphore_test()
656 r = amdgpu_cs_query_fence_status(&fence_status, in amdgpu_semaphore_test()
683 struct amdgpu_cs_fence fence_status; in amdgpu_command_submission_compute_nop() local
720 memset(&fence_status, 0, sizeof(struct amdgpu_cs_fence)); in amdgpu_command_submission_compute_nop()
724 fence_status.context = context_handle; in amdgpu_command_submission_compute_nop()
725 fence_status.ip_type = AMDGPU_HW_IP_COMPUTE; in amdgpu_command_submission_compute_nop()
726 fence_status.ip_instance = 0; in amdgpu_command_submission_compute_nop()
727 fence_status.ring = instance; in amdgpu_command_submission_compute_nop()
728 fence_status.fence = ibs_request.seq_no; in amdgpu_command_submission_compute_nop()
730 r = amdgpu_cs_query_fence_status(&fence_status, in amdgpu_command_submission_compute_nop()
791 struct amdgpu_cs_fence fence_status = {0}; in amdgpu_test_exec_cs_helper() local
832 fence_status.ip_type = ip_type; in amdgpu_test_exec_cs_helper()
833 fence_status.ip_instance = 0; in amdgpu_test_exec_cs_helper()
834 fence_status.ring = ibs_request->ring; in amdgpu_test_exec_cs_helper()
835 fence_status.context = context_handle; in amdgpu_test_exec_cs_helper()
836 fence_status.fence = ibs_request->seq_no; in amdgpu_test_exec_cs_helper()
839 r = amdgpu_cs_query_fence_status(&fence_status, in amdgpu_test_exec_cs_helper()
1210 struct amdgpu_cs_fence fence_status[2] = {}; in amdgpu_command_submission_multi_fence_wait_all() local
1269 fence_status[i].context = context_handle; in amdgpu_command_submission_multi_fence_wait_all()
1270 fence_status[i].ip_type = AMDGPU_HW_IP_GFX; in amdgpu_command_submission_multi_fence_wait_all()
1271 fence_status[i].fence = ibs_request[i].seq_no; in amdgpu_command_submission_multi_fence_wait_all()
1274 r = amdgpu_cs_wait_fences(fence_status, ib_cs_num, wait_all, in amdgpu_command_submission_multi_fence_wait_all()