Lines Matching refs:fence_status

712 	struct amdgpu_cs_fence fence_status = {0};  in amdgpu_command_submission_gfx_separate_ibs()  local
769 fence_status.context = context_handle; in amdgpu_command_submission_gfx_separate_ibs()
770 fence_status.ip_type = AMDGPU_HW_IP_GFX; in amdgpu_command_submission_gfx_separate_ibs()
771 fence_status.ip_instance = 0; in amdgpu_command_submission_gfx_separate_ibs()
772 fence_status.fence = ibs_request.seq_no; in amdgpu_command_submission_gfx_separate_ibs()
774 r = amdgpu_cs_query_fence_status(&fence_status, in amdgpu_command_submission_gfx_separate_ibs()
803 struct amdgpu_cs_fence fence_status = {0}; in amdgpu_command_submission_gfx_shared_ib() local
853 fence_status.context = context_handle; in amdgpu_command_submission_gfx_shared_ib()
854 fence_status.ip_type = AMDGPU_HW_IP_GFX; in amdgpu_command_submission_gfx_shared_ib()
855 fence_status.ip_instance = 0; in amdgpu_command_submission_gfx_shared_ib()
856 fence_status.fence = ibs_request.seq_no; in amdgpu_command_submission_gfx_shared_ib()
858 r = amdgpu_cs_query_fence_status(&fence_status, in amdgpu_command_submission_gfx_shared_ib()
1062 struct amdgpu_cs_fence fence_status = {0}; in amdgpu_semaphore_test() local
1127 fence_status.context = context_handle[0]; in amdgpu_semaphore_test()
1128 fence_status.ip_type = AMDGPU_HW_IP_GFX; in amdgpu_semaphore_test()
1129 fence_status.ip_instance = 0; in amdgpu_semaphore_test()
1130 fence_status.fence = ibs_request[1].seq_no; in amdgpu_semaphore_test()
1131 r = amdgpu_cs_query_fence_status(&fence_status, in amdgpu_semaphore_test()
1168 fence_status.context = context_handle[1]; in amdgpu_semaphore_test()
1169 fence_status.ip_type = AMDGPU_HW_IP_GFX; in amdgpu_semaphore_test()
1170 fence_status.ip_instance = 0; in amdgpu_semaphore_test()
1171 fence_status.fence = ibs_request[1].seq_no; in amdgpu_semaphore_test()
1172 r = amdgpu_cs_query_fence_status(&fence_status, in amdgpu_semaphore_test()
1201 struct amdgpu_cs_fence fence_status; in amdgpu_command_submission_compute_nop() local
1242 memset(&fence_status, 0, sizeof(struct amdgpu_cs_fence)); in amdgpu_command_submission_compute_nop()
1246 fence_status.context = context_handle; in amdgpu_command_submission_compute_nop()
1247 fence_status.ip_type = AMDGPU_HW_IP_COMPUTE; in amdgpu_command_submission_compute_nop()
1248 fence_status.ip_instance = 0; in amdgpu_command_submission_compute_nop()
1249 fence_status.ring = instance; in amdgpu_command_submission_compute_nop()
1250 fence_status.fence = ibs_request.seq_no; in amdgpu_command_submission_compute_nop()
1252 r = amdgpu_cs_query_fence_status(&fence_status, in amdgpu_command_submission_compute_nop()
1317 struct amdgpu_cs_fence fence_status = {0}; in amdgpu_test_exec_cs_helper_raw() local
1366 fence_status.ip_type = ip_type; in amdgpu_test_exec_cs_helper_raw()
1367 fence_status.ip_instance = 0; in amdgpu_test_exec_cs_helper_raw()
1368 fence_status.ring = ibs_request->ring; in amdgpu_test_exec_cs_helper_raw()
1369 fence_status.context = context_handle; in amdgpu_test_exec_cs_helper_raw()
1370 fence_status.fence = ibs_request->seq_no; in amdgpu_test_exec_cs_helper_raw()
1373 r = amdgpu_cs_query_fence_status(&fence_status, in amdgpu_test_exec_cs_helper_raw()
1916 struct amdgpu_cs_fence fence_status[2] = {0}; in amdgpu_command_submission_multi_fence_wait_all() local
1977 fence_status[i].context = context_handle; in amdgpu_command_submission_multi_fence_wait_all()
1978 fence_status[i].ip_type = AMDGPU_HW_IP_GFX; in amdgpu_command_submission_multi_fence_wait_all()
1979 fence_status[i].fence = ibs_request[i].seq_no; in amdgpu_command_submission_multi_fence_wait_all()
1982 r = amdgpu_cs_wait_fences(fence_status, ib_cs_num, wait_all, in amdgpu_command_submission_multi_fence_wait_all()
2112 struct amdgpu_cs_fence fence_status; in amdgpu_sync_dependency_test() local
2281 memset(&fence_status, 0, sizeof(struct amdgpu_cs_fence)); in amdgpu_sync_dependency_test()
2282 fence_status.context = context_handle[0]; in amdgpu_sync_dependency_test()
2283 fence_status.ip_type = AMDGPU_HW_IP_GFX; in amdgpu_sync_dependency_test()
2284 fence_status.ip_instance = 0; in amdgpu_sync_dependency_test()
2285 fence_status.ring = 0; in amdgpu_sync_dependency_test()
2286 fence_status.fence = ibs_request.seq_no; in amdgpu_sync_dependency_test()
2288 r = amdgpu_cs_query_fence_status(&fence_status, in amdgpu_sync_dependency_test()
2454 struct amdgpu_cs_fence fence_status = {0}; in amdgpu_memset_dispatch_test() local
2546 fence_status.ip_type = ip_type; in amdgpu_memset_dispatch_test()
2547 fence_status.ip_instance = 0; in amdgpu_memset_dispatch_test()
2548 fence_status.ring = ring; in amdgpu_memset_dispatch_test()
2549 fence_status.context = context_handle; in amdgpu_memset_dispatch_test()
2550 fence_status.fence = ibs_request.seq_no; in amdgpu_memset_dispatch_test()
2553 r = amdgpu_cs_query_fence_status(&fence_status, in amdgpu_memset_dispatch_test()
2600 struct amdgpu_cs_fence fence_status = {0}; in amdgpu_memcpy_dispatch_test() local
2696 fence_status.ip_type = ip_type; in amdgpu_memcpy_dispatch_test()
2697 fence_status.ip_instance = 0; in amdgpu_memcpy_dispatch_test()
2698 fence_status.ring = ring; in amdgpu_memcpy_dispatch_test()
2699 fence_status.context = context_handle; in amdgpu_memcpy_dispatch_test()
2700 fence_status.fence = ibs_request.seq_no; in amdgpu_memcpy_dispatch_test()
2703 r = amdgpu_cs_query_fence_status(&fence_status, in amdgpu_memcpy_dispatch_test()
2813 struct amdgpu_cs_fence fence_status = {0}; in amdgpu_memcpy_dispatch_hang_slow_test() local
2911 fence_status.ip_type = ip_type; in amdgpu_memcpy_dispatch_hang_slow_test()
2912 fence_status.ip_instance = 0; in amdgpu_memcpy_dispatch_hang_slow_test()
2913 fence_status.ring = ring; in amdgpu_memcpy_dispatch_hang_slow_test()
2914 fence_status.context = context_handle; in amdgpu_memcpy_dispatch_hang_slow_test()
2915 fence_status.fence = ibs_request.seq_no; in amdgpu_memcpy_dispatch_hang_slow_test()
2918 r = amdgpu_cs_query_fence_status(&fence_status, in amdgpu_memcpy_dispatch_hang_slow_test()
3338 struct amdgpu_cs_fence fence_status = {0}; in amdgpu_memset_draw() local
3404 fence_status.ip_type = AMDGPU_HW_IP_GFX; in amdgpu_memset_draw()
3405 fence_status.ip_instance = 0; in amdgpu_memset_draw()
3406 fence_status.ring = ring_id; in amdgpu_memset_draw()
3407 fence_status.context = context_handle; in amdgpu_memset_draw()
3408 fence_status.fence = ibs_request.seq_no; in amdgpu_memset_draw()
3411 r = amdgpu_cs_query_fence_status(&fence_status, in amdgpu_memset_draw()
3496 struct amdgpu_cs_fence fence_status = {0}; in amdgpu_memcpy_draw() local
3575 fence_status.ip_type = AMDGPU_HW_IP_GFX; in amdgpu_memcpy_draw()
3576 fence_status.ip_instance = 0; in amdgpu_memcpy_draw()
3577 fence_status.ring = ring; in amdgpu_memcpy_draw()
3578 fence_status.context = context_handle; in amdgpu_memcpy_draw()
3579 fence_status.fence = ibs_request.seq_no; in amdgpu_memcpy_draw()
3582 r = amdgpu_cs_query_fence_status(&fence_status, in amdgpu_memcpy_draw()
3699 struct amdgpu_cs_fence fence_status = {0}; in amdgpu_memcpy_draw_hang_slow_test() local
3802 fence_status.ip_type = AMDGPU_HW_IP_GFX; in amdgpu_memcpy_draw_hang_slow_test()
3803 fence_status.ip_instance = 0; in amdgpu_memcpy_draw_hang_slow_test()
3804 fence_status.ring = ring; in amdgpu_memcpy_draw_hang_slow_test()
3805 fence_status.context = context_handle; in amdgpu_memcpy_draw_hang_slow_test()
3806 fence_status.fence = ibs_request.seq_no; in amdgpu_memcpy_draw_hang_slow_test()
3809 r = amdgpu_cs_query_fence_status(&fence_status, in amdgpu_memcpy_draw_hang_slow_test()