Home
last modified time | relevance | path

Searched refs:ibs_request (Results 1 – 14 of 14) sorted by relevance

/third_party/libdrm/tests/amdgpu/
Ddeadlock_tests.c243 struct amdgpu_cs_request ibs_request; in amdgpu_deadlock_helper() local
291 memset(&ibs_request, 0, sizeof(struct amdgpu_cs_request)); in amdgpu_deadlock_helper()
292 ibs_request.ip_type = ip_type; in amdgpu_deadlock_helper()
293 ibs_request.ring = 0; in amdgpu_deadlock_helper()
294 ibs_request.number_of_ibs = 1; in amdgpu_deadlock_helper()
295 ibs_request.ibs = &ib_info; in amdgpu_deadlock_helper()
296 ibs_request.resources = bo_list; in amdgpu_deadlock_helper()
297 ibs_request.fence_info.handle = NULL; in amdgpu_deadlock_helper()
299 r = amdgpu_cs_submit(context_handle, 0,&ibs_request, 1); in amdgpu_deadlock_helper()
309 fence_status.fence = ibs_request.seq_no; in amdgpu_deadlock_helper()
[all …]
Dbasic_tests.c75 struct amdgpu_cs_request *ibs_request);
852 struct amdgpu_cs_request ibs_request = {0}; in amdgpu_command_submission_gfx_separate_ibs() local
901 ibs_request.ip_type = AMDGPU_HW_IP_GFX; in amdgpu_command_submission_gfx_separate_ibs()
902 ibs_request.number_of_ibs = 2; in amdgpu_command_submission_gfx_separate_ibs()
903 ibs_request.ibs = ib_info; in amdgpu_command_submission_gfx_separate_ibs()
904 ibs_request.resources = bo_list; in amdgpu_command_submission_gfx_separate_ibs()
905 ibs_request.fence_info.handle = NULL; in amdgpu_command_submission_gfx_separate_ibs()
907 r = amdgpu_cs_submit(context_handle, 0,&ibs_request, 1); in amdgpu_command_submission_gfx_separate_ibs()
914 fence_status.fence = ibs_request.seq_no; in amdgpu_command_submission_gfx_separate_ibs()
943 struct amdgpu_cs_request ibs_request = {0}; in amdgpu_command_submission_gfx_shared_ib() local
[all …]
Dhotunplug_tests.c195 struct amdgpu_cs_request ibs_request; in amdgpu_nop_cs() local
218 memset(&ibs_request, 0, sizeof(struct amdgpu_cs_request)); in amdgpu_nop_cs()
219 ibs_request.ip_type = AMDGPU_HW_IP_GFX; in amdgpu_nop_cs()
220 ibs_request.ring = 0; in amdgpu_nop_cs()
221 ibs_request.number_of_ibs = 1; in amdgpu_nop_cs()
222 ibs_request.ibs = &ib_info; in amdgpu_nop_cs()
223 ibs_request.resources = bo_list; in amdgpu_nop_cs()
226 amdgpu_cs_submit(context, 0, &ibs_request, 1); in amdgpu_nop_cs()
228 amdgpu_cs_sync(context, AMDGPU_HW_IP_GFX, 0, ibs_request.seq_no); in amdgpu_nop_cs()
359 struct amdgpu_cs_request ibs_request; in amdgpu_hotunplug_with_exported_fence() local
[all …]
Damdgpu_stress.c185 struct amdgpu_cs_request ibs_request; in submit_ib() local
231 memset(&ibs_request, 0, sizeof(ibs_request)); in submit_ib()
232 ibs_request.ip_type = AMDGPU_HW_IP_DMA; in submit_ib()
233 ibs_request.ring = 0; in submit_ib()
234 ibs_request.number_of_ibs = 1; in submit_ib()
235 ibs_request.ibs = &ib_info; in submit_ib()
236 ibs_request.fence_info.handle = NULL; in submit_ib()
243 &ibs_request.resources); in submit_ib()
248 r = amdgpu_cs_submit(context_handle, 0, &ibs_request, 1); in submit_ib()
253 r = amdgpu_bo_list_destroy(ibs_request.resources); in submit_ib()
[all …]
Dvm_tests.c102 struct amdgpu_cs_request ibs_request; in amdgpu_vmid_reserve_test() local
150 memset(&ibs_request, 0, sizeof(struct amdgpu_cs_request)); in amdgpu_vmid_reserve_test()
151 ibs_request.ip_type = gc_ip_type; in amdgpu_vmid_reserve_test()
152 ibs_request.ring = 0; in amdgpu_vmid_reserve_test()
153 ibs_request.number_of_ibs = 1; in amdgpu_vmid_reserve_test()
154 ibs_request.ibs = &ib_info; in amdgpu_vmid_reserve_test()
155 ibs_request.resources = bo_list; in amdgpu_vmid_reserve_test()
156 ibs_request.fence_info.handle = NULL; in amdgpu_vmid_reserve_test()
158 r = amdgpu_cs_submit(context_handle, 0,&ibs_request, 1); in amdgpu_vmid_reserve_test()
167 fence_status.fence = ibs_request.seq_no; in amdgpu_vmid_reserve_test()
Dvcn_tests.c194 struct amdgpu_cs_request ibs_request = {0}; in submit() local
203 ibs_request.ip_type = ip; in submit()
206 NULL, &ibs_request.resources); in submit()
210 ibs_request.number_of_ibs = 1; in submit()
211 ibs_request.ibs = &ib_info; in submit()
212 ibs_request.fence_info.handle = NULL; in submit()
214 r = amdgpu_cs_submit(context_handle, 0, &ibs_request, 1); in submit()
218 r = amdgpu_bo_list_destroy(ibs_request.resources); in submit()
224 fence_status.fence = ibs_request.seq_no; in submit()
Dcs_tests.c154 struct amdgpu_cs_request ibs_request = {0}; in submit() local
163 ibs_request.ip_type = ip; in submit()
166 NULL, &ibs_request.resources); in submit()
170 ibs_request.number_of_ibs = 1; in submit()
171 ibs_request.ibs = &ib_info; in submit()
172 ibs_request.fence_info.handle = NULL; in submit()
174 r = amdgpu_cs_submit(context_handle, 0, &ibs_request, 1); in submit()
178 r = amdgpu_bo_list_destroy(ibs_request.resources); in submit()
184 fence_status.fence = ibs_request.seq_no; in submit()
Dcp_dma_tests.c208 struct amdgpu_cs_request ibs_request = {0}; in submit_and_sync() local
218 NULL, &ibs_request.resources); in submit_and_sync()
232 ibs_request.ip_type = gc_ip_type; in submit_and_sync()
233 ibs_request.number_of_ibs = 1; in submit_and_sync()
234 ibs_request.ibs = &ib_info; in submit_and_sync()
235 ibs_request.fence_info.handle = NULL; in submit_and_sync()
237 r = amdgpu_cs_submit(context_handle, 0, &ibs_request, 1); in submit_and_sync()
241 r = amdgpu_bo_list_destroy(ibs_request.resources); in submit_and_sync()
247 fence_status.fence = ibs_request.seq_no; in submit_and_sync()
Duvd_enc_tests.c155 struct amdgpu_cs_request ibs_request = {0}; in submit() local
164 ibs_request.ip_type = ip; in submit()
167 NULL, &ibs_request.resources); in submit()
171 ibs_request.number_of_ibs = 1; in submit()
172 ibs_request.ibs = &ib_info; in submit()
173 ibs_request.fence_info.handle = NULL; in submit()
175 r = amdgpu_cs_submit(context_handle, 0, &ibs_request, 1); in submit()
179 r = amdgpu_bo_list_destroy(ibs_request.resources); in submit()
185 fence_status.fence = ibs_request.seq_no; in submit()
Djpeg_tests.c237 struct amdgpu_cs_request ibs_request = {0}; in submit() local
246 ibs_request.ip_type = ip; in submit()
249 &ibs_request.resources); in submit()
253 ibs_request.number_of_ibs = 1; in submit()
254 ibs_request.ibs = &ib_info; in submit()
255 ibs_request.fence_info.handle = NULL; in submit()
257 r = amdgpu_cs_submit(context_handle, 0, &ibs_request, 1); in submit()
261 r = amdgpu_bo_list_destroy(ibs_request.resources); in submit()
267 fence_status.fence = ibs_request.seq_no; in submit()
Dvce_tests.c199 struct amdgpu_cs_request ibs_request = {0}; in submit() local
208 ibs_request.ip_type = ip; in submit()
211 NULL, &ibs_request.resources); in submit()
215 ibs_request.number_of_ibs = 1; in submit()
216 ibs_request.ibs = &ib_info; in submit()
217 ibs_request.fence_info.handle = NULL; in submit()
219 r = amdgpu_cs_submit(context_handle, 0, &ibs_request, 1); in submit()
223 r = amdgpu_bo_list_destroy(ibs_request.resources); in submit()
229 fence_status.fence = ibs_request.seq_no; in submit()
Damdgpu_test.h540 struct amdgpu_cs_request *ibs_request,
/third_party/libdrm/amdgpu/
Damdgpu_cs.c243 struct amdgpu_cs_request *ibs_request) in amdgpu_cs_submit_one() argument
257 if (ibs_request->ip_type >= AMDGPU_HW_IP_NUM) in amdgpu_cs_submit_one()
259 if (ibs_request->ring >= AMDGPU_CS_MAX_RINGS) in amdgpu_cs_submit_one()
261 if (ibs_request->number_of_ibs == 0) { in amdgpu_cs_submit_one()
262 ibs_request->seq_no = AMDGPU_NULL_SUBMIT_SEQ; in amdgpu_cs_submit_one()
265 user_fence = (ibs_request->fence_info.handle != NULL); in amdgpu_cs_submit_one()
267 size = ibs_request->number_of_ibs + (user_fence ? 2 : 1) + 1; in amdgpu_cs_submit_one()
271 size = ibs_request->number_of_ibs + (user_fence ? 1 : 0); in amdgpu_cs_submit_one()
275 if (ibs_request->resources) in amdgpu_cs_submit_one()
276 bo_list_handle = ibs_request->resources->handle; in amdgpu_cs_submit_one()
[all …]
Damdgpu.h1031 struct amdgpu_cs_request *ibs_request,