Home
last modified time | relevance | path

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

/external/libdrm/tests/amdgpu/
Dbasic_tests.c295 struct amdgpu_cs_request ibs_request = {0}; in amdgpu_command_submission_gfx_separate_ibs() local
342 ibs_request.ip_type = AMDGPU_HW_IP_GFX; in amdgpu_command_submission_gfx_separate_ibs()
343 ibs_request.number_of_ibs = 2; in amdgpu_command_submission_gfx_separate_ibs()
344 ibs_request.ibs = ib_info; in amdgpu_command_submission_gfx_separate_ibs()
345 ibs_request.resources = bo_list; in amdgpu_command_submission_gfx_separate_ibs()
346 ibs_request.fence_info.handle = NULL; in amdgpu_command_submission_gfx_separate_ibs()
348 r = amdgpu_cs_submit(context_handle, 0,&ibs_request, 1); in amdgpu_command_submission_gfx_separate_ibs()
355 fence_status.fence = ibs_request.seq_no; in amdgpu_command_submission_gfx_separate_ibs()
384 struct amdgpu_cs_request ibs_request = {0}; in amdgpu_command_submission_gfx_shared_ib() local
424 ibs_request.ip_type = AMDGPU_HW_IP_GFX; in amdgpu_command_submission_gfx_shared_ib()
[all …]
Dcs_tests.c135 struct amdgpu_cs_request ibs_request = {0}; in submit() local
144 ibs_request.ip_type = ip; in submit()
147 NULL, &ibs_request.resources); in submit()
151 ibs_request.number_of_ibs = 1; in submit()
152 ibs_request.ibs = &ib_info; in submit()
153 ibs_request.fence_info.handle = NULL; in submit()
155 r = amdgpu_cs_submit(context_handle, 0, &ibs_request, 1); in submit()
159 r = amdgpu_bo_list_destroy(ibs_request.resources); in submit()
165 fence_status.fence = ibs_request.seq_no; in submit()
Dvce_tests.c147 struct amdgpu_cs_request ibs_request = {0}; in submit() local
156 ibs_request.ip_type = ip; in submit()
159 NULL, &ibs_request.resources); in submit()
163 ibs_request.number_of_ibs = 1; in submit()
164 ibs_request.ibs = &ib_info; in submit()
165 ibs_request.fence_info.handle = NULL; in submit()
167 r = amdgpu_cs_submit(context_handle, 0, &ibs_request, 1); in submit()
171 r = amdgpu_bo_list_destroy(ibs_request.resources); in submit()
177 fence_status.fence = ibs_request.seq_no; in submit()
/external/libdrm/amdgpu/
Damdgpu_cs.c173 struct amdgpu_cs_request *ibs_request) in amdgpu_cs_submit_one() argument
187 if (ibs_request->ip_type >= AMDGPU_HW_IP_NUM) in amdgpu_cs_submit_one()
189 if (ibs_request->ring >= AMDGPU_CS_MAX_RINGS) in amdgpu_cs_submit_one()
191 if (ibs_request->number_of_ibs > AMDGPU_CS_MAX_IBS_PER_SUBMIT) in amdgpu_cs_submit_one()
193 if (ibs_request->number_of_ibs == 0) { in amdgpu_cs_submit_one()
194 ibs_request->seq_no = AMDGPU_NULL_SUBMIT_SEQ; in amdgpu_cs_submit_one()
197 user_fence = (ibs_request->fence_info.handle != NULL); in amdgpu_cs_submit_one()
199 size = ibs_request->number_of_ibs + (user_fence ? 2 : 1) + 1; in amdgpu_cs_submit_one()
204 size = ibs_request->number_of_ibs + (user_fence ? 1 : 0); in amdgpu_cs_submit_one()
211 if (ibs_request->resources) in amdgpu_cs_submit_one()
[all …]
Damdgpu.h882 struct amdgpu_cs_request *ibs_request,