mesa/src
Rob Clark df9986bcf2 gallium: Make upload_cb0 return a releasebuf
pipe_upload_constant_buffer0() was immediately releasing the
u_upload_alloc() releasebuf.  But it is used in various call-
paths where the release needs to be deferred further.

Fixes crashes in firefox for any driver that uses the same
u_upload_mgr instance for pipe->const_uploader and
pipe->stream_uploader.

Fixes: b3133e250e ("gallium: add pipe_context::resource_release to eliminate buffer refcounting")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/14309
Signed-off-by: Rob Clark <rob.clark@oss.qualcomm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38896>
(cherry picked from commit 51605bfac2)
2025-12-15 11:23:34 -08:00
..
amd radv: fix race condition when getting the blit queue 2025-12-15 11:23:34 -08:00
android_stub
asahi hk: Report the correct plane count in VkDrmFormatModifierProperties2?EXT 2025-11-04 10:16:42 -08:00
broadcom ci: use $CI_TRON_JOB_PRIORITY tag on all ci-tron jobs 2025-12-01 09:16:33 -08:00
c11 c11/threads: fix build on c23 2025-11-13 08:10:20 -08:00
compiler nir: Ignore ray query ranges that don't start with rq_initialize 2025-12-15 11:23:34 -08:00
drm-shim drm-shim: fix with asan 2025-09-03 11:47:00 +00:00
egl egl/x11: Fix memory leak when querying translated coord. 2025-12-15 11:23:34 -08:00
etnaviv ci: use $CI_TRON_JOB_PRIORITY tag on all ci-tron jobs 2025-12-01 09:16:33 -08:00
freedreno ir3: Fix condition for using uniform predicates 2025-12-15 11:23:34 -08:00
gallium gallium: Make upload_cb0 return a releasebuf 2025-12-15 11:23:34 -08:00
gbm egl,glx: allow OpenGL with old libx11, but disable glthread if it's unsafe 2025-08-21 02:05:26 +00:00
getopt
gfxstream gfxstream: fix logspam in TLS helper function 2025-12-04 09:15:31 -08:00
glx glx: provide glx.pc 2025-10-14 20:53:10 +00:00
gtest
imagination pvr: enable samplerMirrorClampToEdge feature 2025-12-03 11:23:49 -08:00
imgui imgui: Silence build warnings for imgui 2025-09-16 06:16:19 +00:00
intel anv: Fix typo when checking if async rt scratch size changed 2025-12-15 11:23:34 -08:00
loader loader: Wrap nouveau_zink_predicate with HAVE_LIBDRM 2025-11-21 14:22:57 -08:00
mesa gallium: Make upload_cb0 return a releasebuf 2025-12-15 11:23:34 -08:00
microsoft dozen: return INCOMPATIBLE_DRIVER on instance create failure 2025-12-01 09:16:32 -08:00
nouveau nak/cmat: free the type mapping hash table. 2025-12-08 09:25:37 -08:00
panfrost panfrost/ci: Fix GitLab rules after YAML split 2025-12-15 11:23:34 -08:00
tool clang-format: Update the .clang-format files to conformance clang-format json-schema 2025-09-09 07:04:55 +00:00
util util/driconf/asahi: Override GL renderer for web browsers 2025-12-08 09:25:38 -08:00
virtio venus: fix racy semaphore feedback counter update 2025-12-03 15:02:48 -08:00
vulkan wsi/metal: Fix blit_imate_to_image's pool selection for cmd buffer alloc 2025-12-05 08:11:47 -08:00
x11 meson: add missing x11 dependency on libloader_x11 2025-08-08 21:45:59 +00:00
.clang-format clang-format: Move ForEachMacros into src/.clang-format for freedreno 2025-09-09 07:04:55 +00:00
meson.build Revert "meson: use vcs_tag() instead of custom script" 2025-10-06 23:06:11 +00:00