v3dv: initialize in_sync_bcl in our submits

We were not doing this and that could lead to the kernel refusing the
job if this happened to be gargabe. Make it zero, meaning that we don't
want to keep our bin jobs waiting for anything.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
This commit is contained in:
Iago Toral Quiroga
2020-02-19 12:28:21 +01:00
committed by Marge Bot
parent 83554840a5
commit ea09600fe6
+1
View File
@@ -149,6 +149,7 @@ queue_submit_job(struct v3dv_job *job, bool do_wait)
* we would have to extend our kernel interface to support the case where
* we have more than one semaphore to wait on.
*/
submit.in_sync_bcl = 0;
submit.in_sync_rcl = do_wait ? job->cmd_buffer->device->last_job_sync : 0;
/* Update the sync object for the last rendering by this device. */