mesa/src/gallium/auxiliary
Boris Brezillon 44175d888c renderonly: Make sure we reset scanout on error in create_kms_dumb_buffer_for_resource()
If an error occured, make sure we reset the scanout object before
leaving, otherwise the next user of this handle will hit the
refcnt == 0 assert.

Fixes: ad4d7ca833 ("kmsro: Fix renderonly_scanout BO aliasing")
Cc: mesa-stable
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23746>
(cherry picked from commit 45a27adc3b)
2023-07-16 22:11:49 +01:00
..
cso_cache cso: unbind fb state when unbinding the context 2023-05-05 19:05:42 +01:00
draw draw/gs: handle extra shader outputs in geometry. 2023-07-15 22:52:37 +01:00
driver_ddebug tree-wide: Convert all usage of #ifdef PIPE_(OS|ARCH|CC)_* to #if DETECT_(OS|ARCH|CC)_* by use grep 2022-11-15 20:35:55 +00:00
driver_noop gallium: fixup some inconsistent uses of enum pipe_shader_type. 2022-08-04 08:17:39 +00:00
driver_trace aux/trace: fix bindless texture dumping 2023-07-16 22:11:49 +01:00
gallivm gallivm: Clamp the texel buffer size 2023-07-15 22:49:57 +01:00
hud hud: add GALLIUM_HUD_OPACITY envvar 2023-03-06 16:50:27 +00:00
indices gallium: decompose quad strips into quads if supported 2023-03-24 13:11:12 +00:00
nir nir: Combine if_uses with instruction uses 2023-04-07 23:48:03 +00:00
os util/u_process: remove util_get_process_name_may_override() 2023-01-31 22:02:58 +00:00
pipe-loader pipe-loader: avoid undefined memcpy behavior 2023-05-25 14:06:10 +01:00
pipebuffer gallium: Replace the usage of __FUNCTION__ with __func__ in all gallium code 2022-11-22 06:53:47 +00:00
postprocess postprocess: move the definition of pp_filters into **/pp_init.c 2023-01-03 14:45:28 +00:00
renderonly renderonly: Make sure we reset scanout on error in create_kms_dumb_buffer_for_resource() 2023-07-16 22:11:49 +01:00
rtasm tree-wide: Fixes multi-line macro width after replace to __func__ 2022-11-22 06:53:47 +00:00
target-helpers freedreno: change create_renderonly signature to uniformize it 2023-03-29 09:34:29 +00:00
tessellator gallium: use c++11 alignas instead of PIPE_ALIGN_VAR 2022-06-14 15:08:38 +00:00
tgsi tgsi: use locale independent float and double parsing 2023-05-01 09:02:28 +01:00
translate translate: do not clamp element index in generic_run 2023-04-26 17:37:24 +01:00
util util/blitter: revert util_blitter_clear_buffer() 2023-07-15 22:47:56 +01:00
vl vl/dri3: avoid deadlocking when polling deleted windows for events 2023-02-16 15:55:47 +00:00
meson.build meson: inline gtest_test_protocol now that it's always 'gtest' 2023-03-10 07:20:29 +00:00