mesa/src
Dave Airlie 0cddfba328 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>
2021-08-24 03:30:17 +10:00
..
amd aco/scheduler: allow moving down VMEM stores to below VMEM loads 2021-08-23 16:48:31 +00:00
android_stub egl/android: refactor to use the legit vndk/window.h header 2021-06-09 21:07:54 +00:00
asahi nir: add indirect loop unrolling to compiler options 2021-08-03 10:54:50 +00:00
broadcom v3d: implement resource_get_param 2021-08-19 13:12:51 +00:00
compiler glsl: fix variable scope for instructions inside case statements 2021-08-20 16:13:56 +00:00
drm-shim drm-shim: Support kernels with >4k pages 2021-08-13 23:33:52 +00:00
egl python: explicitly require python3 2021-08-14 21:44:31 +00:00
etnaviv android: Drop the Android.mk build system 2021-07-08 14:44:02 -05:00
freedreno tu: Remove some stale bypass xfails 2021-08-20 22:28:56 +00:00
gallium llvmpipe: use preferred attribute interpolation for wide lines 2021-08-23 15:43:48 +00:00
gbm gbm: add GBM_FORMAT_R16 2021-08-06 13:38:00 +00:00
getopt
glx glx: Simplify context API profile computation 2021-08-18 21:11:02 +00:00
gtest
hgl
imgui
intel anv: Optimize genX(cmd_buffer_emit_gfx12_depth_wa) 2021-08-20 17:50:35 +00:00
loader driconfig: Add support for device specific config 2021-08-02 16:37:24 -07:00
mapi python: drop python2 support 2021-08-14 21:44:32 +00:00
mesa gallium: remove vertices_per_patch, add pipe_context::set_patch_vertices 2021-08-21 00:08:11 +00:00
microsoft nir: Move phi src setup to a helper. 2021-08-13 16:11:57 +00:00
nouveau
panfrost pan/bi: Extend bi_add_nop_for_atest for tilebuffer loads 2021-08-20 21:38:01 +00:00
tool pps: Panfrost pps driver 2021-07-13 11:03:55 +00:00
util util/xmlconfig: Test values set via the environment 2021-08-21 00:53:18 +00:00
virtio venus: free queues after vkDestroyDevice is emitted 2021-08-06 19:48:49 +00:00
vulkan vulkan/wsi/sw: wait for image fence before submitting to queue 2021-08-24 03:30:17 +10:00
meson.build meson: Build panfrost with tools=panfrost 2021-07-22 17:55:49 +00:00