mesa/src
Yiwei Zhang ddf2ca4faf vulkan/wsi/wayland: ensure drm modifiers stored in chain are immutable
Chain stored modifiers point to the mapping of the current feedback
shmem of the surface. The surface tracked feedback mapping will be gone
and replaced with new mapping during surface_dmabuf_feedback_done. There
are two issues here:
1. One issue is that the existing mapping is closed before been used to
   compare against new modifiers in sets_of_modifiers_are_the_same.
2. The other issue is that when the chain is still optimal, the chain
   persists while the mapping is still replaced with the one from the
   new format table shmem.

This change makes a deep copy of the modifiers to store in the chain to
ensure the modifiers used for the current chain are immutable through
the chain lifecycle.

Cc: mesa-stable
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26618>
2023-12-16 18:26:38 +00:00
..
amd radv/rt: Initialize unused children in PLOC early-exit 2023-12-15 17:52:00 +00:00
android_stub
asahi asahi: clamp draw count for mdi 2023-12-09 12:08:39 -04:00
broadcom v3dv: implement VK_KHR_shader_terminate_invocation 2023-12-15 16:35:50 +00:00
c11 util/meson: Getting mesa util core to be self contained 2023-08-02 03:41:24 +00:00
compiler isaspec: Add bool_inv type to print inverted bools 2023-12-16 14:34:18 +00:00
drm-shim compiler,vulkan,drm-shim: Remove unused include directories from meson.build 2023-10-27 01:35:10 +00:00
egl egl/surfaceless: Don't overwrire disp->Device if using EGL_DEVICE_EXT 2023-12-13 23:15:17 +00:00
etnaviv ci/austriancoder: separate HW definition from SW 2023-12-16 16:03:08 +01:00
freedreno ir3: lower 64b registers 2023-12-15 17:19:28 +00:00
gallium etnaviv: disassembler: Switch to isaspec 2023-12-16 14:34:18 +00:00
gbm gbm: delete some zink handling 2023-10-09 18:43:09 +00:00
getopt
glx mesa/st, dri2, wgl, glx: Restore flush_objects interop backward compat 2023-11-21 23:15:32 +00:00
gtest gtest: backport ansi color fix 2023-08-18 21:33:14 +00:00
imagination pvr: alloc WSI memory via GPU when there isn't a valid display FD 2023-12-12 12:41:13 +00:00
imgui
intel anv: Remove libdrm usage from Xe KMD backend 2023-12-15 20:40:49 +00:00
loader dri: added build dependencies for systems using non-standard prefixed X11 libs. 2023-11-02 15:08:17 +00:00
mapi glthread: add a string table of function names 2023-12-08 04:25:52 +00:00
mesa mesa/main: allow S3TC for 3D textures 2023-12-12 06:53:00 +00:00
microsoft microsoft: Whitespace change to trigger CI 2023-12-15 00:39:10 +00:00
nouveau nak: Optimize jumps to fall-through if possible 2023-12-16 06:10:23 +00:00
panfrost panvk: Pass PAN_BO_SHAREABLE when relevant 2023-12-15 11:33:27 +00:00
tool perfetto/pps-producer: add optimized cpu/gpu timestamp correlation support 2023-11-09 13:22:48 +00:00
util drirc: setup anv_assume_full_subgroups=16 for UnrealEngine5.1 2023-12-15 05:28:51 +00:00
virtio vulkan/android: Only limit advertised extensions in strict mode 2023-12-13 20:09:37 +00:00
vulkan vulkan/wsi/wayland: ensure drm modifiers stored in chain are immutable 2023-12-16 18:26:38 +00:00
.clang-format nir: add _safe variants of nir_foreach_reg_load/store 2023-12-15 17:19:28 +00:00
meson.build meson: Only include virtio when DRM available 2023-11-07 18:22:56 +00:00