wlroots/backend
Kenny Levinsen 7717c92ed0 backend/drm: Skip plane props if buffer is not committed
If our session is re-activated during scanout, restore_drm_device will
reset planes and then attempt an enabling modeset commit without a
buffer. The new plane transform logic requires a committed buffer to be
present to calculate the boxes if they were not explicitly provided, and
at least amdgpu rejects commits that try to use 0 as default.

Skip updating plane props instead of segfaulting if no buffer is set.

A better fix would be to not rely on restore_drm_device at all and
instead require compositors to modeset in response to session
activation.

Fixes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3912
2024-10-28 02:14:49 +01:00
..
drm backend/drm: Skip plane props if buffer is not committed 2024-10-28 02:14:49 +01:00
headless backend/headless: actually perform output test 2024-10-24 10:49:08 +02:00
libinput pointer: release pressed buttons on destroy 2024-09-24 19:53:54 +00:00
multi backend/multi: Advance index on backend_commit 2024-10-15 17:32:54 +02:00
session backend/session: use "KMS" instead of "DRM" in log messages 2024-06-17 09:43:38 +02:00
wayland Support direct scanout with src crop and dst boxes 2024-10-22 18:28:09 +01:00
x11 backend/x11: delete xcb conn check NULL 2024-10-24 09:02:41 +00:00
backend.c backend: add wlr_backend_{test,commit}() 2024-03-14 22:03:10 +00:00
meson.build backend/session: make optional 2022-11-25 16:15:29 +00:00