mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-21 14:42:25 +00:00
7717c92ed0
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 |
||
---|---|---|
.. | ||
drm | ||
headless | ||
libinput | ||
multi | ||
session | ||
wayland | ||
x11 | ||
backend.c | ||
meson.build |