v3dv: submit a no-op job if a command buffer doesn't have any jobs.
authorIago Toral Quiroga <itoral@igalia.com>
Thu, 16 Apr 2020 08:31:17 +0000 (10:31 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 13 Oct 2020 21:21:29 +0000 (21:21 +0000)
commit7ea4601a28a402ff5b2ed4af9221e2d084fd886e
tree6ba1cdb01ada20ee2c3368d4696a824c22300bfb
parent53657b0cb12a52e975c459417b7ae3f3e837ff24
v3dv: submit a no-op job if a command buffer doesn't have any jobs.

This is similar to the scenario where we have a submit without
any command buffers, even if we don't have any actual GPU work to do
we still might need to signal fences/semaphored and possibly wait on
previous jobs to finish, so we need to submit something to the kernel
to get all that done right.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
src/broadcom/vulkan/v3dv_queue.c