Home
last modified time | relevance | path

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

/external/libdrm/tests/amdgpu/
Dbasic_tests.c170 struct amdgpu_cs_request ibs_request = {0}; in amdgpu_command_submission_gfx_separate_ibs() local
217 ibs_request.ip_type = AMDGPU_HW_IP_GFX; in amdgpu_command_submission_gfx_separate_ibs()
218 ibs_request.number_of_ibs = 2; in amdgpu_command_submission_gfx_separate_ibs()
219 ibs_request.ibs = ib_info; in amdgpu_command_submission_gfx_separate_ibs()
220 ibs_request.resources = bo_list; in amdgpu_command_submission_gfx_separate_ibs()
221 ibs_request.fence_info.handle = NULL; in amdgpu_command_submission_gfx_separate_ibs()
223 r = amdgpu_cs_submit(context_handle, 0,&ibs_request, 1); in amdgpu_command_submission_gfx_separate_ibs()
229 fence_status.fence = ibs_request.seq_no; in amdgpu_command_submission_gfx_separate_ibs()
258 struct amdgpu_cs_request ibs_request = {0}; in amdgpu_command_submission_gfx_shared_ib() local
298 ibs_request.ip_type = AMDGPU_HW_IP_GFX; in amdgpu_command_submission_gfx_shared_ib()
[all …]
Dcs_tests.c124 struct amdgpu_cs_request ibs_request = {0}; in submit() local
133 ibs_request.ip_type = ip; in submit()
136 NULL, &ibs_request.resources); in submit()
140 ibs_request.number_of_ibs = 1; in submit()
141 ibs_request.ibs = &ib_info; in submit()
142 ibs_request.fence_info.handle = NULL; in submit()
144 r = amdgpu_cs_submit(context_handle, 0, &ibs_request, 1); in submit()
148 r = amdgpu_bo_list_destroy(ibs_request.resources); in submit()
154 fence_status.fence = ibs_request.seq_no; in submit()
Dvce_tests.c139 struct amdgpu_cs_request ibs_request = {0}; in submit() local
148 ibs_request.ip_type = ip; in submit()
151 NULL, &ibs_request.resources); in submit()
155 ibs_request.number_of_ibs = 1; in submit()
156 ibs_request.ibs = &ib_info; in submit()
157 ibs_request.fence_info.handle = NULL; in submit()
159 r = amdgpu_cs_submit(context_handle, 0, &ibs_request, 1); in submit()
163 r = amdgpu_bo_list_destroy(ibs_request.resources); in submit()
169 fence_status.fence = ibs_request.seq_no; in submit()
/external/libdrm/amdgpu/
Damdgpu_cs.c146 struct amdgpu_cs_request *ibs_request) in amdgpu_cs_submit_one() argument
157 if (ibs_request->ip_type >= AMDGPU_HW_IP_NUM) in amdgpu_cs_submit_one()
159 if (ibs_request->ring >= AMDGPU_CS_MAX_RINGS) in amdgpu_cs_submit_one()
161 if (ibs_request->number_of_ibs > AMDGPU_CS_MAX_IBS_PER_SUBMIT) in amdgpu_cs_submit_one()
163 user_fence = (ibs_request->fence_info.handle != NULL); in amdgpu_cs_submit_one()
165 size = ibs_request->number_of_ibs + (user_fence ? 2 : 1); in amdgpu_cs_submit_one()
170 size = ibs_request->number_of_ibs + (user_fence ? 1 : 0); in amdgpu_cs_submit_one()
177 if (ibs_request->resources) in amdgpu_cs_submit_one()
178 cs.in.bo_list_handle = ibs_request->resources->handle; in amdgpu_cs_submit_one()
179 cs.in.num_chunks = ibs_request->number_of_ibs; in amdgpu_cs_submit_one()
[all …]
Damdgpu.h877 struct amdgpu_cs_request *ibs_request,