Files
xserver/hw/xfree86
Sultan Alsawaf 7f7753dd87 modesetting: Don't recursively force present to unflip
Present calls drmmode_set_mode_major() as part of ms_present_unflip(),
which leads to a crash due to the recursive attempt to force present to
unflip when it already is.

Fix it by simply skipping the forced present unflip when present itself is
unflipping. This also speeds up drmmmode_prepare_modeset() when present
isn't even flipping to begin with.

Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1791

Fixes: 899c87af1f ("modesetting: unflip before any setcrtc() calls")
Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1793>
2026-03-19 18:48:28 +01:00
..
2026-03-16 13:11:07 +01:00
2026-03-16 13:11:07 +01:00
2026-03-16 13:11:07 +01:00
2026-03-16 13:11:07 +01:00
2026-03-16 13:11:07 +01:00
2026-03-16 13:11:07 +01:00
2026-03-16 13:11:07 +01:00
2026-03-16 13:11:07 +01:00
2026-02-13 16:29:01 +01:00
2019-10-01 17:05:28 +00:00
2015-01-05 09:53:58 +10:00
2026-03-16 13:11:07 +01:00