From ea09600fe6ebb2b9bcc9f622da14dca3453359df Mon Sep 17 00:00:00 2001 From: Iago Toral Quiroga Date: Wed, 19 Feb 2020 12:28:21 +0100 Subject: [PATCH] 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: --- src/broadcom/vulkan/v3dv_queue.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/broadcom/vulkan/v3dv_queue.c b/src/broadcom/vulkan/v3dv_queue.c index d93faf80741..f1274bfe136 100644 --- a/src/broadcom/vulkan/v3dv_queue.c +++ b/src/broadcom/vulkan/v3dv_queue.c @@ -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. */