Lines Matching refs:ib_info
74 struct amdgpu_cs_ib_info *ib_info,
853 struct amdgpu_cs_ib_info ib_info[2]; in amdgpu_command_submission_gfx_separate_ibs() local
880 memset(ib_info, 0, 2 * sizeof(struct amdgpu_cs_ib_info)); in amdgpu_command_submission_gfx_separate_ibs()
890 ib_info[0].ib_mc_address = ib_result_ce_mc_address; in amdgpu_command_submission_gfx_separate_ibs()
891 ib_info[0].size = i; in amdgpu_command_submission_gfx_separate_ibs()
892 ib_info[0].flags = AMDGPU_IB_FLAG_CE; in amdgpu_command_submission_gfx_separate_ibs()
898 ib_info[1].ib_mc_address = ib_result_mc_address; in amdgpu_command_submission_gfx_separate_ibs()
899 ib_info[1].size = 2; in amdgpu_command_submission_gfx_separate_ibs()
903 ibs_request.ibs = ib_info; in amdgpu_command_submission_gfx_separate_ibs()
944 struct amdgpu_cs_ib_info ib_info[2]; in amdgpu_command_submission_gfx_shared_ib() local
965 memset(ib_info, 0, 2 * sizeof(struct amdgpu_cs_ib_info)); in amdgpu_command_submission_gfx_shared_ib()
975 ib_info[0].ib_mc_address = ib_result_mc_address; in amdgpu_command_submission_gfx_shared_ib()
976 ib_info[0].size = i; in amdgpu_command_submission_gfx_shared_ib()
977 ib_info[0].flags = AMDGPU_IB_FLAG_CE; in amdgpu_command_submission_gfx_shared_ib()
982 ib_info[1].ib_mc_address = ib_result_mc_address + 16; in amdgpu_command_submission_gfx_shared_ib()
983 ib_info[1].size = 2; in amdgpu_command_submission_gfx_shared_ib()
987 ibs_request.ibs = ib_info; in amdgpu_command_submission_gfx_shared_ib()
1039 struct amdgpu_cs_ib_info *ib_info; in amdgpu_bo_eviction_test() local
1051 ib_info = calloc(1, sizeof(*ib_info)); in amdgpu_bo_eviction_test()
1052 CU_ASSERT_NOT_EQUAL(ib_info, NULL); in amdgpu_bo_eviction_test()
1147 ib_info, ibs_request); in amdgpu_bo_eviction_test()
1172 free(ib_info); in amdgpu_bo_eviction_test()
1203 struct amdgpu_cs_ib_info ib_info[2] = {0}; in amdgpu_semaphore_test() local
1248 ib_info[0].ib_mc_address = ib_result_mc_address[0]; in amdgpu_semaphore_test()
1249 ib_info[0].size = 1; in amdgpu_semaphore_test()
1253 ibs_request[0].ibs = &ib_info[0]; in amdgpu_semaphore_test()
1265 ib_info[1].ib_mc_address = ib_result_mc_address[1]; in amdgpu_semaphore_test()
1266 ib_info[1].size = 1; in amdgpu_semaphore_test()
1270 ibs_request[1].ibs = &ib_info[1]; in amdgpu_semaphore_test()
1289 ib_info[0].ib_mc_address = ib_result_mc_address[0]; in amdgpu_semaphore_test()
1290 ib_info[0].size = 1; in amdgpu_semaphore_test()
1294 ibs_request[0].ibs = &ib_info[0]; in amdgpu_semaphore_test()
1306 ib_info[1].ib_mc_address = ib_result_mc_address[1]; in amdgpu_semaphore_test()
1307 ib_info[1].size = 1; in amdgpu_semaphore_test()
1311 ibs_request[1].ibs = &ib_info[1]; in amdgpu_semaphore_test()
1350 struct amdgpu_cs_ib_info ib_info; in amdgpu_command_submission_compute_nop() local
1380 memset(&ib_info, 0, sizeof(struct amdgpu_cs_ib_info)); in amdgpu_command_submission_compute_nop()
1381 ib_info.ib_mc_address = ib_result_mc_address; in amdgpu_command_submission_compute_nop()
1382 ib_info.size = 16; in amdgpu_command_submission_compute_nop()
1388 ibs_request.ibs = &ib_info; in amdgpu_command_submission_compute_nop()
1457 struct amdgpu_cs_ib_info *ib_info, in amdgpu_test_exec_cs_helper_raw() argument
1474 CU_ASSERT_NOT_EQUAL(ib_info, NULL); in amdgpu_test_exec_cs_helper_raw()
1489 ib_info->ib_mc_address = ib_result_mc_address; in amdgpu_test_exec_cs_helper_raw()
1490 ib_info->size = pm4_dw; in amdgpu_test_exec_cs_helper_raw()
1492 ib_info->flags |= AMDGPU_IB_FLAGS_SECURE; in amdgpu_test_exec_cs_helper_raw()
1497 ibs_request->ibs = ib_info; in amdgpu_test_exec_cs_helper_raw()
1539 struct amdgpu_cs_ib_info *ib_info, in amdgpu_test_exec_cs_helper() argument
1544 res_cnt, resources, ib_info, in amdgpu_test_exec_cs_helper()
1559 struct amdgpu_cs_ib_info *ib_info; in amdgpu_command_submission_write_linear_helper_with_secure() local
1572 ib_info = calloc(1, sizeof(*ib_info)); in amdgpu_command_submission_write_linear_helper_with_secure()
1573 CU_ASSERT_NOT_EQUAL(ib_info, NULL); in amdgpu_command_submission_write_linear_helper_with_secure()
1638 1, resources, ib_info, in amdgpu_command_submission_write_linear_helper_with_secure()
1668 1, resources, ib_info, in amdgpu_command_submission_write_linear_helper_with_secure()
1692 1, resources, ib_info, in amdgpu_command_submission_write_linear_helper_with_secure()
1725 1, resources, ib_info, in amdgpu_command_submission_write_linear_helper_with_secure()
1740 free(ib_info); in amdgpu_command_submission_write_linear_helper_with_secure()
1768 struct amdgpu_cs_ib_info *ib_info; in amdgpu_command_submission_const_fill_helper() local
1780 ib_info = calloc(1, sizeof(*ib_info)); in amdgpu_command_submission_const_fill_helper()
1781 CU_ASSERT_NOT_EQUAL(ib_info, NULL); in amdgpu_command_submission_const_fill_helper()
1863 ib_info, ibs_request); in amdgpu_command_submission_const_fill_helper()
1880 free(ib_info); in amdgpu_command_submission_const_fill_helper()
1901 struct amdgpu_cs_ib_info *ib_info; in amdgpu_command_submission_copy_linear_helper() local
1913 ib_info = calloc(1, sizeof(*ib_info)); in amdgpu_command_submission_copy_linear_helper()
1914 CU_ASSERT_NOT_EQUAL(ib_info, NULL); in amdgpu_command_submission_copy_linear_helper()
2017 ib_info, ibs_request); in amdgpu_command_submission_copy_linear_helper()
2038 free(ib_info); in amdgpu_command_submission_copy_linear_helper()
2065 struct amdgpu_cs_ib_info ib_info[2]; in amdgpu_command_submission_multi_fence_wait_all() local
2093 memset(ib_info, 0, 2 * sizeof(struct amdgpu_cs_ib_info)); in amdgpu_command_submission_multi_fence_wait_all()
2103 ib_info[0].ib_mc_address = ib_result_ce_mc_address; in amdgpu_command_submission_multi_fence_wait_all()
2104 ib_info[0].size = i; in amdgpu_command_submission_multi_fence_wait_all()
2105 ib_info[0].flags = AMDGPU_IB_FLAG_CE; in amdgpu_command_submission_multi_fence_wait_all()
2111 ib_info[1].ib_mc_address = ib_result_mc_address; in amdgpu_command_submission_multi_fence_wait_all()
2112 ib_info[1].size = 2; in amdgpu_command_submission_multi_fence_wait_all()
2117 ibs_request[i].ibs = ib_info; in amdgpu_command_submission_multi_fence_wait_all()
2168 struct amdgpu_cs_ib_info *ib_info; in amdgpu_userptr_test() local
2176 ib_info = calloc(1, sizeof(*ib_info)); in amdgpu_userptr_test()
2177 CU_ASSERT_NOT_EQUAL(ib_info, NULL); in amdgpu_userptr_test()
2231 ib_info, ibs_request); in amdgpu_userptr_test()
2237 free(ib_info); in amdgpu_userptr_test()
2261 struct amdgpu_cs_ib_info ib_info; in amdgpu_sync_dependency_test() local
2377 memset(&ib_info, 0, sizeof(struct amdgpu_cs_ib_info)); in amdgpu_sync_dependency_test()
2378 ib_info.ib_mc_address = ib_result_mc_address; in amdgpu_sync_dependency_test()
2379 ib_info.size = i; in amdgpu_sync_dependency_test()
2385 ibs_request.ibs = &ib_info; in amdgpu_sync_dependency_test()
2406 memset(&ib_info, 0, sizeof(struct amdgpu_cs_ib_info)); in amdgpu_sync_dependency_test()
2407 ib_info.ib_mc_address = ib_result_mc_address + j * 4; in amdgpu_sync_dependency_test()
2408 ib_info.size = i - j; in amdgpu_sync_dependency_test()
2414 ibs_request.ibs = &ib_info; in amdgpu_sync_dependency_test()
2652 struct amdgpu_cs_ib_info ib_info= {0}; in amdgpu_memset_dispatch_test() local
2733 ib_info.ib_mc_address = mc_address_cmd; in amdgpu_memset_dispatch_test()
2734 ib_info.size = i; in amdgpu_memset_dispatch_test()
2739 ibs_request.ibs = &ib_info; in amdgpu_memset_dispatch_test()
2800 struct amdgpu_cs_ib_info ib_info= {0}; in amdgpu_memcpy_dispatch_test() local
2895 ib_info.ib_mc_address = mc_address_cmd; in amdgpu_memcpy_dispatch_test()
2896 ib_info.size = i; in amdgpu_memcpy_dispatch_test()
2901 ibs_request.ibs = &ib_info; in amdgpu_memcpy_dispatch_test()
3037 struct amdgpu_cs_ib_info ib_info= {0}; in amdgpu_memcpy_dispatch_hang_slow_test() local
3134 ib_info.ib_mc_address = mc_address_cmd; in amdgpu_memcpy_dispatch_hang_slow_test()
3135 ib_info.size = i; in amdgpu_memcpy_dispatch_hang_slow_test()
3140 ibs_request.ibs = &ib_info; in amdgpu_memcpy_dispatch_hang_slow_test()
3736 struct amdgpu_cs_ib_info ib_info = {0}; in amdgpu_memset_draw() local
3788 ib_info.ib_mc_address = mc_address_cmd; in amdgpu_memset_draw()
3789 ib_info.size = i; in amdgpu_memset_draw()
3794 ibs_request.ibs = &ib_info; in amdgpu_memset_draw()
3893 struct amdgpu_cs_ib_info ib_info= {0}; in amdgpu_memcpy_draw() local
3977 ib_info.ib_mc_address = mc_address_cmd; in amdgpu_memcpy_draw()
3978 ib_info.size = i; in amdgpu_memcpy_draw()
3983 ibs_request.ibs = &ib_info; in amdgpu_memcpy_draw()
4116 struct amdgpu_cs_ib_info ib_info= {0}; in amdgpu_memcpy_draw_hang_slow_test() local
4221 ib_info.ib_mc_address = mc_address_cmd; in amdgpu_memcpy_draw_hang_slow_test()
4222 ib_info.size = i; in amdgpu_memcpy_draw_hang_slow_test()
4227 ibs_request.ibs = &ib_info; in amdgpu_memcpy_draw_hang_slow_test()