mesa/src
Faith Ekstrand 5d4b886820 nouveau: Fix a race in nouveau_ws_bo_destroy()
It's possible if nouveau_ws_bo_destroy() races with
nouveau_ws_bo_from_dma_buf() for the BO to be found in the cache and
referenced between dropping the final reference and actually invoking
GEM_CLOSE.  This would result in us having a closed BO somewhere in our
cache.

Fixes: c370260a8f ("nouveau/winsys: Add dma-buf import support")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29737>
(cherry picked from commit faaf33556e)
2024-06-18 19:23:28 +02:00
..
amd radv: fix incorrect buffer_list advance for multi-planar descriptors 2024-06-18 19:23:27 +02:00
android_stub
asahi agx: set compact_arrays in compiler options 2024-04-12 18:43:48 +00:00
broadcom v3d/drm-shim: emulate a rpi4 instead of a rpi3 2024-06-08 02:07:34 +02:00
c11
compiler glsl: respect GL_EXT_shader_image_load_formatted when image is embedded in a struct 2024-06-18 19:23:26 +02:00
drm-shim drm-shim: Stub syncobj reset ioctl 2024-05-21 17:59:50 +02:00
egl egl: fix teardown when using xcb 2024-06-11 12:30:12 +02:00
etnaviv etnaviv: hwdb: Add VIP_V7 and NN_XYDP0 feature bits 2024-04-24 15:26:37 +00:00
freedreno freedreno: Make fd_pps_driver.h usable without including other FD sources 2024-06-06 09:39:28 +02:00
gallium nouveau/nvc0: increase overallocation on shader bo to 2K 2024-06-18 19:23:28 +02:00
gbm gbm: plumb an 'implicit' param through device creation 2024-04-22 23:25:58 +00:00
getopt
glx glx: fix build -D glx-direct=false 2024-06-18 19:23:27 +02:00
gtest
imagination meson: add VK_DRIVER_FILES to devenv, alongside the old VK_ICD_FILENAMES 2024-04-02 18:08:52 +00:00
imgui
intel intel/fs: fix lower_simd_width for MOV_INDIRECT 2024-06-18 19:23:28 +02:00
loader loader/wayland: Add named queue fallback 2024-02-28 11:01:31 +00:00
mapi treewide: Replace usage of macro DEBUG with MESA_DEBUG when possible 2024-03-22 18:22:34 +00:00
mesa mesa/main: do not allow RGBA_INTEGER et al in gles3 2024-06-11 12:29:58 +02:00
microsoft microsoft/compiler: set compact_arrays in compiler options 2024-04-05 17:56:28 +00:00
nouveau nouveau: Fix a race in nouveau_ws_bo_destroy() 2024-06-18 19:23:28 +02:00
panfrost panvk: Fix Cube/2DArray/3D img -> buf copies 2024-06-18 19:23:25 +02:00
tool pps: Config tweaks to avoid loosing traces 2024-03-25 19:49:50 +00:00
util anv,driconf: Add fake non device local memory WA for Total War: Warhammer 3 2024-06-07 13:53:51 +02:00
virtio venus: fix to destroy all pipeline handles on early error paths 2024-04-29 16:32:36 +02:00
vulkan vulkan/runtime: pColorAttachmentInputIndices is allowed to be NULL 2024-06-18 19:23:24 +02:00
.clang-format agx: add Braun-Hack spiller pass 2024-03-30 00:26:18 +00:00
meson.build loader/wayland: Add fallback wl_display_dispatch_queue_timeout 2024-02-27 13:10:13 +00:00