v3dv: improve pipeline barrier handling

Graphics / Mesa 3D Graphics Library / Mesa - Iago Toral Quiroga [igalia.com] - 13 October 2020 21:21 UTC

So far we have been getting away with finishing the current job in the presence of a pipeline barrier and relying on the RCL serialization, but of course this is not always enough.

This patch addresses synchronization across different GPU units (i.e. draw indirect after compute), as well as cases where we need to sync before binning.

Fixes CTS failures in: dEQP-VK.synchronization.op.single_queue.barrier.*


0db95de577b v3dv: improve pipeline barrier handling
src/broadcom/vulkan/v3dv_cmd_buffer.c | 81 +++++++++++++++++++++++++++++++----
src/broadcom/vulkan/v3dv_private.h | 12 ++++++
src/broadcom/vulkan/v3dv_queue.c | 17 +++++++-
3 files changed, 99 insertions(+), 11 deletions(-)

Upstream: cgit.freedesktop.org

  • Share