mesa/src
Lars Harrison fe4a621c7b Fix coherent memory allocation to use device
When allocating coherent memory (generally, suballocations) and looking
up existing VkDeviceMemory entries, the device is critical to finding
valid allocation blocks, otherwise allocations from other devices might
be chosen, which invalidate things.

This happens only in situations where a single process has multiple
VkDevices, so it was rare enough not to be caught until now.

Reviewed-by: Aaron Ruby <aruby@blackberry.com>
Acked-by: Yonggang Luo <luoyonggang@gmail.com>
Acked-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246>
2024-09-19 20:06:00 +00:00
..
amd aco/isel: use upper bound for v_mul_u32_u24 2024-09-19 17:08:47 +00:00
android_stub vulkan/android: Add helper to probe AHB support 2024-05-14 14:53:44 +00:00
asahi hk: enable VK_KHR_shader_relaxed_extended_instruction 2024-09-16 15:58:35 +00:00
broadcom Uprev Piglit to e9ab30aeaed97b69868cf4d6d6a3f70f3b53c362 2024-09-19 15:41:32 +00:00
c11 build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
compiler nir: add amd shared append/consume 2024-09-19 16:21:47 +00:00
drm-shim drm-shim: stub synobj_timeline_wait and query ioctl 2024-07-16 11:17:59 +02:00
egl egl/x11: fix dri3 connect conditional for kopper without modifiers 2024-09-19 13:00:59 +00:00
etnaviv etnaviv: isa: Add conv instruction 2024-08-30 01:53:18 +00:00
freedreno ir3/legalize: resolve WAR hazards for stc 2024-09-19 19:30:05 +00:00
gallium v3d: avoid load/store of tile buffer on invalidated framebuffer 2024-09-19 18:57:19 +00:00
gbm meson/gbm: fix meson devenv for GBM backends 2024-09-19 05:06:50 +00:00
getopt build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
gfxstream Fix coherent memory allocation to use device 2024-09-19 20:06:00 +00:00
glx glx: Destroy base screen after deinitScreen 2024-09-10 08:55:58 +02:00
gtest build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
imagination pvr: emit tpu_tag_cdm_ctrl in compute stream when present 2024-08-14 18:07:41 +08:00
imgui
intel anv: Fix condition to clear query pool with blorp 2024-09-19 17:54:24 +00:00
loader meson: remove dri-search-path 2024-09-19 05:06:50 +00:00
mapi mesa,glsl,gallium: add GL_OVR_multiview 2024-09-18 13:07:41 +00:00
mesa mesa: support OVR_multiview2 2024-09-18 13:07:41 +00:00
microsoft ci/windows: Increase dozen-deqp fraction 2024-09-12 19:07:45 +00:00
nouveau nil: Assert array_len == 0 in Extent4D<Bytes>::size_B() 2024-09-16 21:51:29 +00:00
panfrost Uprev Piglit to e9ab30aeaed97b69868cf4d6d6a3f70f3b53c362 2024-09-19 15:41:32 +00:00
tool perfetto: Add Panfrost data sources to system.cfg 2024-08-22 18:33:45 +00:00
util r300: move HyperZ blacklist to driconf 2024-09-17 15:43:08 +00:00
virtio venus: avoid over-caching sfb cmds 2024-09-05 19:17:22 +00:00
vulkan wsi: Fix Metal WSI CAMetalDrawable leak 2024-09-18 22:55:28 +00:00
x11 meson: require dri3 modifiers 2024-09-06 17:34:17 +00:00
.clang-format panfrost: Move ForEachMacros into panfrost 2024-09-12 20:04:58 +00:00
meson.build meson: Allow building lavapipe without specifying llvmpipe 2024-08-29 10:17:52 +02:00