mesa/src
José Roberto de Souza 2cf0b8c2d0 iris: Fix slab memory leak
When in alloc_bo_from_slabs() size and alloc_size are different enough to have
different pb_slabs it causes the slab to be put into the reclaim list of a the
smaller pb_slabs when calling iris_bo_unreference(), causing a memory leak of
(alloc_size - size) bytes.

So here storing and using the actual slab size to fix this issue.

Cc: stable
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39024>
2025-12-19 13:40:15 +00:00
..
amd amd: add newer small APUs to get_task_num_entries() 2025-12-19 13:03:49 +00:00
android_stub android_stub: fix missing prototypes issues 2025-12-02 20:03:02 +00:00
asahi nir: Drop the mode argument of nir_lower_vars_to_scratch(). 2025-12-17 19:50:28 +00:00
broadcom broadcom/ci: set testgroup size for asan 2025-12-18 16:42:30 +00:00
c11 c11/threads: fix build on c23 2025-11-10 07:01:50 +10:00
compiler nir/printf-helpers: set writes_memory at printf emission 2025-12-19 10:31:08 +00:00
drm-shim drm-shim: handle DRM_CAP_ADDFB2_MODIFIERS 2025-11-24 12:34:08 +00:00
egl egl/x11: Fix memory leak when querying translated coord. 2025-12-11 14:58:59 +00:00
etnaviv Uprev Piglit to 2842979ebe03b99c33c3e49af5960c69be6c6d46 2025-12-12 21:45:24 +00:00
freedreno ir3/bisect: fix off-by-one issues while bisecting 2025-12-18 04:43:16 +00:00
gallium iris: Fix slab memory leak 2025-12-19 13:40:15 +00:00
gbm mesa: replace most occurrences of getenv() with os_get_option() 2025-11-06 04:36:13 +00:00
getopt build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
gfxstream gfxstream: don't dump genvk.py args to generated files 2025-12-18 18:52:19 +00:00
glx driconf: add a way to override GLX_CONTEXT_RESET_ISOLATION_BIT_ARB 2025-12-17 23:35:24 +00:00
gtest build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
imagination pvr: limit hw-defs to rogue 2025-12-19 10:35:05 +01:00
imgui imgui: Silence build warnings for imgui 2025-09-16 06:16:19 +00:00
intel brw: Add EU assembler support for float8 2025-12-19 00:09:53 +00:00
kosmickrisp nir: Drop the mode argument of nir_lower_vars_to_scratch(). 2025-12-17 19:50:28 +00:00
loader loader: Wrap nouveau_zink_predicate with HAVE_LIBDRM 2025-11-20 18:39:19 +00:00
mesa mesa: consider Attrib.MinLayer in do_blit_framebuffer 2025-12-18 10:45:49 +00:00
microsoft treewide: use BITSET_*_COUNT 2025-12-16 17:42:10 +00:00
nouveau nvk: Set maxStorageBufferRange = maxBufferSize 2025-12-18 23:51:50 +00:00
panfrost panfrost: enable texel-buffers for three-component formats 2025-12-19 11:15:26 +00:00
poly nir: remove nir_io_add_const_offset_to_base 2025-11-29 00:16:38 +00:00
tool pps/meson: minor refactor for pps_deps 2025-11-08 18:39:00 -08:00
util tu: use application name matching for Yooka-Laylee driconf option 2025-12-19 07:50:40 +00:00
virtio treewide: Use wsi_common_is_swapchain_image() helper 2025-12-11 20:20:39 +00:00
vulkan vulkan: update ALLOWED_ANDROID_VERSION for api level 36 2025-12-17 19:22:47 +00:00
x11 treewide: strip unneeded inc_gallium inc_gallium_aux 2025-11-13 22:01:43 +00:00
.clang-format util: Add sparse bitset data structure 2025-11-06 21:34:33 +00:00
meson.build kk: Add KosmicKrisp 2025-10-20 17:46:38 +00:00