mesa/src
Thomas Hellstrom fb6d09764d winsys/svga: Fix RELOC_INTERNAL mob GPU access
SVGA_RELOC_INTERNAL indicates a transfer between surface and backing mob.
This means that if the GPU for example reads from the surface it writes
to the backing mob. But since the buffer mapping code allows for
simultaneous gpu- and cpu read access, a read from the surface to the mob
will not synchronize a subsequent map to the readback.

Fix this by inverting the mob access mode in a surface relocation with
SVGA_RELOC_INTERNAL set.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
2019-05-17 08:44:31 +02:00
..
amd ac: match radeonsi code in ac_shader_binary_read_config 2019-05-16 13:15:36 -04:00
broadcom nir: allow specifying a set of opcodes in lower_alu_to_scalar 2019-05-10 15:10:41 +00:00
compiler glsl/nir: init non-static class member. 2019-05-17 12:33:09 +10:00
egl wayland/egl: Ensure correct buffer size when allocating 2019-05-14 15:33:35 +00:00
freedreno freedreno: Log the number of loops in the shader for shader-db. 2019-05-16 10:25:22 -07:00
gallium winsys/svga: Fix RELOC_INTERNAL mob GPU access 2019-05-17 08:44:31 +02:00
gbm gbm: gbm_bo_get_handle_for_plane fallback to nonplanar handle 2019-05-15 18:27:30 +01:00
getopt
glx Revert "glx: Fix synthetic error generation in __glXSendError" 2019-05-08 13:16:44 +10:00
gtest delete autotools .gitignore files 2019-04-29 21:17:19 +00:00
hgl haiku: Fix hgl dispatch build. Tested under meson/scons. 2019-04-02 16:06:00 -05:00
imgui imgui: fix undefined behaviour bitshift. 2019-05-17 12:33:09 +10:00
intel anv: Fix some depth buffer sampling cases on ICL+ 2019-05-16 20:54:53 +00:00
loader Delete autotools 2019-04-15 13:44:29 -07:00
mapi meson: make nm binary optional 2019-05-03 10:58:05 -07:00
mesa st/mesa: Record samplers for extra planes in info->textures_used. 2019-05-16 11:54:07 -07:00
util radeonsi: disable primitive restart for triangles for DiRT Rally 2019-05-16 13:13:36 -04:00
vulkan vulkan: Update the XML and headers to 1.1.108 2019-05-13 17:20:33 -05:00
meson.build turnip: Add driver skeleton (v2) 2019-03-11 10:01:15 -07:00
SConscript scons: Remove gles option. 2018-10-19 16:50:26 +01:00