Lines Matching defs:ibs_request
170 struct amdgpu_cs_request ibs_request = {0};
217 ibs_request.ip_type = AMDGPU_HW_IP_GFX;
218 ibs_request.number_of_ibs = 2;
219 ibs_request.ibs = ib_info;
220 ibs_request.resources = bo_list;
221 ibs_request.fence_info.handle = NULL;
223 r = amdgpu_cs_submit(context_handle, 0,&ibs_request, 1);
229 fence_status.fence = ibs_request.seq_no;
258 struct amdgpu_cs_request ibs_request = {0};
298 ibs_request.ip_type = AMDGPU_HW_IP_GFX;
299 ibs_request.number_of_ibs = 2;
300 ibs_request.ibs = ib_info;
301 ibs_request.resources = bo_list;
302 ibs_request.fence_info.handle = NULL;
304 r = amdgpu_cs_submit(context_handle, 0, &ibs_request, 1);
310 fence_status.fence = ibs_request.seq_no;
342 struct amdgpu_cs_request ibs_request;
373 memset(&ibs_request, 0, sizeof(struct amdgpu_cs_request));
374 ibs_request.ip_type = AMDGPU_HW_IP_COMPUTE;
375 ibs_request.ring = instance;
376 ibs_request.number_of_ibs = 1;
377 ibs_request.ibs = &ib_info;
378 ibs_request.resources = bo_list;
379 ibs_request.fence_info.handle = NULL;
382 r = amdgpu_cs_submit(context_handle, 0,&ibs_request, 1);
388 fence_status.fence = ibs_request.seq_no;
409 * pm4_src, resources, ib_info, and ibs_request
410 * submit command stream described in ibs_request and wait for this IB accomplished
416 struct amdgpu_cs_request *ibs_request)
432 CU_ASSERT_NOT_EQUAL(ibs_request, NULL);
449 ibs_request->ip_type = AMDGPU_HW_IP_DMA;
450 ibs_request->ring = instance;
451 ibs_request->number_of_ibs = 1;
452 ibs_request->ibs = ib_info;
453 ibs_request->fence_info.handle = NULL;
459 NULL, &ibs_request->resources);
462 CU_ASSERT_NOT_EQUAL(ibs_request, NULL);
465 r = amdgpu_cs_submit(context_handle, 0, ibs_request, 1);
468 r = amdgpu_bo_list_destroy(ibs_request->resources);
472 fence_status.ring = ibs_request->ring;
474 fence_status.fence = ibs_request->seq_no;
497 struct amdgpu_cs_request *ibs_request;
510 ibs_request = calloc(1, sizeof(*ibs_request));
511 CU_ASSERT_NOT_EQUAL(ibs_request, NULL);
549 ib_info, ibs_request);
564 free(ibs_request);
582 ibs_request;
595 ibs_request = calloc(1, sizeof(*ibs_request));
596 CU_ASSERT_NOT_EQUAL(ibs_request, NULL);
632 ib_info, ibs_request);
647 free(ibs_request);
665 struct amdgpu_cs_request *ibs_request;
678 ibs_request = calloc(1, sizeof(*ibs_request));
679 CU_ASSERT_NOT_EQUAL(ibs_request, NULL);
733 ib_info, ibs_request);
752 free(ibs_request);
779 struct amdgpu_cs_request *ibs_request;
789 ibs_request = calloc(1, sizeof(*ibs_request));
790 CU_ASSERT_NOT_EQUAL(ibs_request, NULL);
827 ib_info, ibs_request);
832 free(ibs_request);