Lines Matching refs:submit
132 struct drm_v3d_submit_cl *submit = arg; in v3dX() local
133 uint32_t *bo_handles = (uint32_t *)(uintptr_t)submit->bo_handles; in v3dX()
135 for (int i = 0; i < submit->bo_handle_count; i++) in v3dX()
140 if (submit->qma) { in v3dX()
141 V3D_WRITE(V3D_CLE_0_CT0QMA, submit->qma); in v3dX()
142 V3D_WRITE(V3D_CLE_0_CT0QMS, submit->qms); in v3dX()
145 if (submit->qts) { in v3dX()
148 submit->qts); in v3dX()
152 fprintf(stderr, "submit %x..%x!\n", submit->bcl_start, submit->bcl_end); in v3dX()
154 V3D_WRITE(V3D_CLE_0_CT0QBA, submit->bcl_start); in v3dX()
155 V3D_WRITE(V3D_CLE_0_CT0QEA, submit->bcl_end); in v3dX()
165 fprintf(stderr, "submit %x..%x!\n", submit->rcl_start, submit->rcl_end); in v3dX()
169 V3D_WRITE(V3D_CLE_0_CT1QBA, submit->rcl_start); in v3dX()
170 V3D_WRITE(V3D_CLE_0_CT1QEA, submit->rcl_end); in v3dX()
177 for (int i = 0; i < submit->bo_handle_count; i++) in v3dX()
187 struct drm_v3d_submit_tfu *submit = arg; in v3dX() local
189 v3d_simulator_copy_in_handle(shim_fd, submit->bo_handles[0]); in v3dX()
190 v3d_simulator_copy_in_handle(shim_fd, submit->bo_handles[1]); in v3dX()
191 v3d_simulator_copy_in_handle(shim_fd, submit->bo_handles[2]); in v3dX()
192 v3d_simulator_copy_in_handle(shim_fd, submit->bo_handles[3]); in v3dX()
196 V3D_WRITE(V3D_TFU_IIA, submit->iia); in v3dX()
197 V3D_WRITE(V3D_TFU_IIS, submit->iis); in v3dX()
198 V3D_WRITE(V3D_TFU_ICA, submit->ica); in v3dX()
199 V3D_WRITE(V3D_TFU_IUA, submit->iua); in v3dX()
200 V3D_WRITE(V3D_TFU_IOA, submit->ioa); in v3dX()
201 V3D_WRITE(V3D_TFU_IOS, submit->ios); in v3dX()
202 V3D_WRITE(V3D_TFU_COEF0, submit->coef[0]); in v3dX()
203 V3D_WRITE(V3D_TFU_COEF1, submit->coef[1]); in v3dX()
204 V3D_WRITE(V3D_TFU_COEF2, submit->coef[2]); in v3dX()
205 V3D_WRITE(V3D_TFU_COEF3, submit->coef[3]); in v3dX()
207 V3D_WRITE(V3D_TFU_ICFG, submit->icfg); in v3dX()
213 v3d_simulator_copy_out_handle(shim_fd, submit->bo_handles[0]); in v3dX()