wlroots/backend/drm
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
..
atomic.c backend/drm: Skip plane props if buffer is not committed 2024-10-28 02:14:49 +01:00
backend.c backend/drm: fix timeline feature flag on multi-GPU setups 2024-10-12 17:12:29 +02:00
drm.c backend/drm: fix timeline feature flag on multi-GPU setups 2024-10-12 17:12:29 +02:00
fb.c backend/drm: add drm_fb_copy() 2024-03-04 11:25:33 +01:00
gen_pnpids.sh backend/drm: use libdisplay-info to parse EDID 2023-02-28 14:44:02 +00:00
legacy.c Support direct scanout with src crop and dst boxes 2024-10-22 18:28:09 +01:00
libliftoff.c Support direct scanout with src crop and dst boxes 2024-10-22 18:28:09 +01:00
meson.build add an option to enable/disable libliftoff 2024-06-05 22:33:05 -06:00
monitor.c backend/drm: drop wl_display argument 2024-01-25 15:05:36 +00:00
properties.c backend/drm: add support for explicit sync APIs 2024-08-06 17:37:06 +00:00
renderer.c backend/drm: add explicit sync support to multi-GPU blits 2024-08-26 18:09:27 +02:00
util.c backend/drm: improve doc comment for match_connectors_with_crtcs_() 2024-09-02 17:12:32 +00:00