weston/libweston/backend-drm
Leandro Ribeiro f9ef4e64ea backend-drm: fix possible leak of struct drm_output
Before this patch, we would leak the drm_output if there was a pending
flip during shutdown.

Now we destroy the drm_output even if there's a pending flip (only
during shutdown, as we don't want to wait until flip completion to
destroy the output).

Also, it fixes a problem where weston_output_enable() is called right
after weston_output_enable() or weston_output_disable() and it could
fail to find available DRM objects (as they are only released after
the flip completion).

Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>
2023-06-27 10:57:12 +00:00
..
drm-gbm.c backend-drm: Use weston_compositor.shutting_down 2023-06-19 21:32:47 +01:00
drm-internal.h backend-drm: fix possible leak of struct drm_output 2023-06-27 10:57:12 +00:00
drm-virtual.c backend-drm/drm-virtual: Hang off the drm_backend 2023-02-20 12:41:03 +02:00
drm.c backend-drm: fix possible leak of struct drm_output 2023-06-27 10:57:12 +00:00
fb.c backend-drm: fix possible leak of struct drm_output 2023-06-27 10:57:12 +00:00
kms-color.c Revert "backend-drm: add HDR_OUTPUT_METADATA definitions" 2022-06-07 09:35:14 +01:00
kms.c backend-drm: schedule connector disable for detached head 2023-04-18 11:11:21 +02:00
libbacklight.c libbacklight: Fix backlight never gets initialized 2022-04-11 08:38:00 +03:00
libbacklight.h backend-drm: move into new subdir 2019-05-16 13:32:34 +01:00
meson.build backend-drm: use libdisplay-info 2023-04-28 16:18:22 +03:00
modes.c backend-drm: drop HDR without libdisplay-info 2023-04-28 16:18:22 +03:00
state-helpers.c backend-drm: Pass view alpha to plane state and commit 2023-03-30 17:29:57 +01:00
state-propose.c backend-drm: Pass view alpha to plane state and commit 2023-03-30 17:29:57 +01:00
vaapi-recorder.c drm/vaapi: Fix pointer-size confusion 2021-08-03 11:13:23 +00:00
vaapi-recorder.h backend-drm: move into new subdir 2019-05-16 13:32:34 +01:00