mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-21 22:52:20 +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 |
||
---|---|---|
.. | ||
atomic.c | ||
backend.c | ||
drm.c | ||
fb.c | ||
gen_pnpids.sh | ||
legacy.c | ||
libliftoff.c | ||
meson.build | ||
monitor.c | ||
properties.c | ||
renderer.c | ||
util.c |