mesa/src
Dave Airlie cc3e149f80 vulkan/wsi/sw: wait for image fence before submitting to queue
With hw devices, when you submit a present, implicit sync will
make sure the work submitted to the gpu on the client will end
up happening before the present work submitted on the server.

However with sw paths there is no real GPU, the lavapipe fake
GPU thread is client side only and presenting is done directly
from the pixmap (or later shared pixmap). In order for this to
make sense the wsi common code should wait for the fence on the
image before queueing the submit to the server so that all
client works has been flushed to the pixmap before the copy or
present operation is submitted.

Fixes: 8004fa9c95 ("vulkan/wsi: add sw support. (v2)")
Acked-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12502>
(cherry picked from commit 0cddfba328)
2021-08-24 15:59:26 -07:00
..
amd radv: fix copying depth+stencil images on compute 2021-08-24 15:59:12 -07:00
android_stub egl/android: refactor to use the legit vndk/window.h header 2021-06-09 21:07:54 +00:00
asahi agx: Plug memory leak in register allocator 2021-07-26 12:16:50 -07:00
broadcom v3d: implement resource_get_param 2021-08-19 10:08:54 -07:00
compiler glsl: fix variable scope for instructions inside case statements 2021-08-24 15:59:12 -07:00
drm-shim drm-shim: Support kernels with >4k pages 2021-08-16 11:40:28 -07:00
egl egl/surfaceless: try kms_swrast before swrast 2021-07-26 12:01:53 -07:00
etnaviv android: Drop the Android.mk build system 2021-07-08 14:44:02 -05:00
freedreno ir3/ra: Handle huge merge sets 2021-08-24 15:59:11 -07:00
gallium v3d: implement resource_get_param 2021-08-19 10:08:54 -07:00
gbm gbm/dri: Fix leaking bo memory on failure path 2021-07-13 11:15:44 +00:00
getopt scons: Remove. 2021-03-20 10:38:55 +00:00
glx glx: create DRI screen for display GPU incase of prime 2021-06-03 09:12:32 +00:00
gtest
hgl hgl: Major refactor and cleanup 2021-01-09 20:51:35 -06:00
imgui
intel anv: Set CONTEXT_PARAM_RECOVERABLE to false 2021-08-24 15:59:10 -07:00
loader loader/dri3: create linear buffer with scanout support 2021-07-28 11:29:29 -07:00
mapi glthread: use custom marshal/unmarshal for CallList 2021-07-09 10:05:46 +00:00
mesa mesa: don't return errors for gl_* GetFragData* queries 2021-08-19 10:07:53 -07:00
microsoft nir: Drop nir_ssa_def::name and nir_register::name 2021-07-08 17:34:41 +00:00
nouveau nouveau: add drm-shim support 2021-01-11 22:45:01 +00:00
panfrost panfrost: Rewrite the clear colour packing code 2021-08-16 11:42:04 -07:00
tool pps: Panfrost pps driver 2021-07-13 11:03:55 +00:00
util util: Fix translate from block compressed to rgba 2021-08-13 10:28:38 -07:00
virtio venus: free queues after vkDestroyDevice is emitted 2021-08-09 14:46:36 -07:00
vulkan vulkan/wsi/sw: wait for image fence before submitting to queue 2021-08-24 15:59:26 -07:00
meson.build panfrost: Add a Vulkan driver for Midgard/Bifrost GPUs 2021-06-22 14:07:34 +00:00