mesa/src
Michael Tretter ee62f4629a kmsro: assert that scanout refcount is larger than 0
The dumb buffer backing the renderonly_scanout is only destroyed if the
refcount reaches zero. If a driver does not correctly initialize the
refcount, the refcount may be negative and the buffer will never be
freed.

Add an assert to ensure that drivers correctly initialize the refcount.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23743>
2023-07-05 12:10:18 +00:00
..
amd radv: Remove unused pipeline param from radv_generate_pipeline_key 2023-07-04 21:05:16 +01:00
android_stub util/log: improve logger_android 2023-02-22 17:55:40 +00:00
asahi asahi: Use txf_ms for MSAA background programs 2023-07-05 05:11:49 +00:00
broadcom v3dv/device: update conformanceVersion 2023-07-04 11:09:55 +00:00
c11 treewide: Replace the usage of TRUE/FALSE with true/false 2023-06-27 18:18:28 +08:00
compiler nir: add cheap shortcut for wg id to wg idx lowering 2023-07-04 09:15:08 +00:00
drm-shim drm-shim: Avoid assertion fail if someone does close(-1). 2023-06-01 01:50:41 +00:00
egl treewide: Replace the usage of TRUE/FALSE with true/false 2023-06-27 18:18:28 +08:00
etnaviv etnaviv: linker: add fallback lookup to VARYING_SLOT_BFC[n] 2023-06-27 09:26:40 +00:00
freedreno Revert "ci/fdno: Pause a660 testing" 2023-07-04 11:43:54 +00:00
gallium kmsro: assert that scanout refcount is larger than 0 2023-07-05 12:10:18 +00:00
gbm gbm: drop unnecessary vulkan dependency 2023-02-23 18:31:22 +00:00
getopt
glx treewide: Replace the usage of TRUE/FALSE with true/false 2023-06-27 18:18:28 +08:00
gtest gtest: Update to 1.13.0 2023-05-14 11:09:02 +00:00
imagination pvr: Use alignas instead of ALIGN_ATTR and remove ALIGN_ATTR 2023-07-04 08:35:14 +00:00
imgui
intel anv/video: fix to support HEVC 10bit on some of 9th gens. 2023-07-05 00:20:18 +00:00
loader dri3: only invalidate drawables on geometry change if geometry has changed 2023-06-15 12:22:24 +00:00
mapi mapi: Remove dead struct _glapi_function in glapi/glapi_getproc.c 2023-06-29 01:36:09 +00:00
mesa st/mesa: Set gl_config.floatMode based on color_format 2023-07-04 00:23:40 +00:00
microsoft dxil: Use nir_remove_non_entrypoints 2023-07-03 21:45:35 +00:00
nouveau nir: split nir_lower_mov64 2023-07-03 10:38:27 +00:00
panfrost panfrost: remove BO from cache before closing GEM 2023-07-05 11:50:59 +00:00
tool meson: remove needless c++17-overrides 2023-05-19 12:45:31 +00:00
util util/bitset: Add some extra functions 2023-07-03 19:51:04 +00:00
virtio venus: use feedback for vkGetQueryPoolResults 2023-06-30 18:50:52 +00:00
vulkan vk/graphics_state: Don't track each vertex input field 2023-07-03 19:51:05 +00:00
.clang-format nir: Add nir_foreach_function_safe and use it 2023-07-03 21:45:35 +00:00
meson.build lavapipe: Include llvmpipe 2023-06-30 12:56:35 +00:00