v3dv: fix event synchronization
authorIago Toral Quiroga <itoral@igalia.com>
Thu, 3 Nov 2022 08:15:20 +0000 (09:15 +0100)
committerEric Engestrom <eric@engestrom.ch>
Wed, 9 Nov 2022 21:22:05 +0000 (21:22 +0000)
commitebd65d011faa751774808e0d70cc990ab9a08fbf
treebf41b7597c0455f4ff089d40bb1e9aa94af8d4cb
parent614ae3ba0b6f8eb65972494d3e9c71aeedaec5a4
v3dv: fix event synchronization

Since we now implement events in the GPU we need to be more careful
and insert barriers to honor the dependencies provided by the API
as well as ensuring we are synchronizing these with the compute
queue, since that is how we implement GPU event functionality.

Fixes: ecb01d53fdb413121ce2 ("v3dv: refactor events")
Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19458>
(cherry picked from commit e6884df088a1e172cd87956fe9afdac63069eb2c)
.pick_status.json
src/broadcom/vulkan/v3dv_event.c