mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 19:40:10 +01:00
v3dv: implement sync debug option
This makes it so all jobs submitted to the queue are automatically serialized against all other jobs. Reviewed-by: Juan A. Suarez <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33350>
This commit is contained in:
parent
d36e97c774
commit
8d9f5dfd1d
1 changed files with 5 additions and 0 deletions
|
|
@ -1178,6 +1178,11 @@ queue_handle_job(struct v3dv_queue *queue,
|
|||
struct v3dv_submit_sync_info *sync_info,
|
||||
bool signal_syncs)
|
||||
{
|
||||
if (unlikely(V3D_DBG(SYNC))) {
|
||||
job->serialize = V3DV_BARRIER_ALL;
|
||||
job->needs_bcl_sync = job->type == V3DV_JOB_TYPE_GPU_CL;
|
||||
}
|
||||
|
||||
switch (job->type) {
|
||||
case V3DV_JOB_TYPE_GPU_CL:
|
||||
return handle_cl_job(queue, job, counter_pass_idx, sync_info, signal_syncs);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue