mesa/src
David Rosca 824a06fd6b frontends/va: Fix leaking fences in GetImage/PutImage
When we need to perform format conversion, we use temporary surface
allocated with vlVaHandleSurfaceAllocate. If the driver requires
clearing the surface on allocation, it will create a fence that
must be destroyed later.

Fixes: 0f20a3a4f1 ("frontends/va: Add surface pipe_fence for vl_compositor rendering")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13198
Reported-by: Mariusz Białończyk <manio@skyboo.net>
Tested-by: Mariusz Białończyk <manio@skyboo.net>
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36040>
(cherry picked from commit 2d6560611f)
2025-07-16 16:23:11 +02:00
..
amd radv: fix the maximum variable descriptor count with inline uniform blocks 2025-07-16 16:23:11 +02:00
android_stub
asahi asahi,hk: fix ts allocation for more shader types 2025-07-02 16:19:30 +02:00
broadcom vulkan: Remove build-system remnants of wl_drm support 2025-07-16 16:23:10 +02:00
c11 c11: use SPDX-License-Identifier header 2025-01-08 20:37:51 +00:00
compiler glsl: fix reuse of deref 2025-07-16 16:23:11 +02:00
drm-shim
egl egl: Clear modifiers if we clear use_flags 2025-07-16 16:23:10 +02:00
etnaviv meson: Streamline silencing of warnings in bindgen generated code 2025-07-16 16:23:09 +02:00
freedreno freedreno/ci: fix a750-piglit-cl rules 2025-07-16 16:23:07 +02:00
gallium frontends/va: Fix leaking fences in GetImage/PutImage 2025-07-16 16:23:11 +02:00
gbm meson: support building with system libgbm 2025-04-09 12:15:33 +00:00
getopt
gfxstream gfxstream: get rid of logspam in virtualized case 2025-06-04 15:52:44 +02:00
glx glx: Fix memory leak with software dri 2025-07-02 16:19:30 +02:00
gtest
imagination treewide: Switch to nir_progress 2025-02-26 15:19:53 +00:00
imgui
intel anv: Increase max VBs to 33 on Gen11+ 2025-07-16 16:23:10 +02:00
loader dri: fix __DRI_IMAGE_FORMAT* to PIPE_FORMAT* mappings 2025-07-02 16:19:32 +02:00
mapi Get rid of 5 remaining references to glapitable.h 2025-04-27 11:44:57 +02:00
mesa mesa: clear program info when updating program string 2025-07-16 16:23:10 +02:00
microsoft dzn: Roll up initialization failure in dzn_meta_init 2025-07-02 16:19:32 +02:00
nouveau meson: Streamline silencing of warnings in bindgen generated code 2025-07-16 16:23:09 +02:00
panfrost panvk: Fix wrong reporting of subgroup size for executable properties 2025-07-16 16:23:10 +02:00
tool perfetto/android: align datasource names with tooling expectations 2025-04-08 18:29:10 +00:00
util util: add workaround for legacy OpenGL tf2 2025-07-16 16:23:10 +02:00
virtio venus: allow to build vtest-only on non-DRM/KMS systems 2025-07-16 16:23:10 +02:00
vulkan vulkan/android: fix to not append GRALLOC_USAGE_HW_COMPOSER bit 2025-07-16 16:23:09 +02:00
x11 glx/egl/x11: fix x11_dri3_check_multibuffer 2025-02-17 02:50:15 +00:00
.clang-format radv: Add radv_foreach_stage to ForEachMacros again. 2025-04-11 18:01:47 +00:00
meson.build meson: split subdir for virtio/vdrm and virtio/vulkan 2025-07-16 16:23:06 +02:00