xserver/hw
Sultan Alsawaf 048d3deb51 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: 899c87af1 ("modesetting: unflip before any setcrtc() calls")
Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-02-15 17:45:54 -08:00
..
kdrive kdrive: use dixDestroyPixmap() instead of direct driver call 2025-02-12 17:48:30 +01:00
vfb xvfb: Add multiple CRTC support 2025-02-13 23:22:49 +00:00
xfree86 modesetting: Don't recursively force present to unflip 2025-02-15 17:45:54 -08:00
xnest xnest: use dixDestroyPixmap() instead of direct driver call 2025-02-12 17:48:30 +01:00
xquartz xquartz: fix inverted tablet pen Y tilt on macOS 2025-02-10 22:02:16 +08:00
xwayland xwayland: use dixDestroyPixmap() instead of direct driver call 2025-02-12 17:48:30 +01:00
xwin xwin: drop duplicate OsVendorVErrorF() 2025-02-06 23:35:27 +00:00
meson.build Drop DMX DDX 2021-09-07 09:34:31 +00:00