xserver-multidpi/present
Olivier Fourdan 4f984fc06b present/wnmd: Relax assertion on CRTC on abort_vblank()
Currently, the function `present_wnmd_abort_vblank()` would fail if the
given `crtc` is NULL.

However, `xwl_present_get_crtc()` can return `NULL` under some
circumstances, which would cause an unexpected termination of Xwayland
in such a case, caused by the assertion failure being triggered.

Remove the assertion, considering that the `crtc` isn't actually used in
neither `present_wnmd_abort_vblank()` nor `xwl_present_abort_vblank()`.

Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
Closes: https://gitlab.freedesktop.org/xorg/xserver/issues/937
2019-11-18 18:15:07 +01:00
..
Makefile.am present: Add window flip mode 2018-03-28 14:36:36 -04:00
meson.build present: Require presentproto 1.2 2019-06-20 12:15:31 -04:00
present_event.c present: Fix swapping of PresentCompleteNotify events 2018-05-08 12:15:29 -04:00
present_execute.c present: Adapt flip mode API hooks for window flip mode 2018-03-28 14:36:33 -04:00
present_fake.c present: Free the fake_present OsTimerPtr 2016-08-15 15:16:48 -04:00
present_fence.c sync: Convert from "CARD64" to int64_t. 2017-09-20 13:19:27 -04:00
present_notify.c present: Add Present extension 2013-10-31 16:59:18 -07:00
present_priv.h present: fix compile warning with debug traces 2018-11-29 16:54:45 +00:00
present_request.c present: cap the version returned to the client 2018-03-19 15:46:41 -04:00
present_scmd.c Revert "present/scmd: Check that the flip and screen pixmap pitches match" 2019-07-03 11:53:56 +02:00
present_screen.c present: Add exported init function of window flip mode 2018-03-28 14:36:44 -04:00
present_vblank.c present: fix compile warning with debug traces 2018-11-29 16:54:45 +00:00
present_wnmd.c present/wnmd: Relax assertion on CRTC on abort_vblank() 2019-11-18 18:15:07 +01:00
present.c present: fix compile warning with debug traces 2018-11-29 16:54:45 +00:00
present.h present: Remove present_event_abandon() 2018-10-25 15:05:12 +00:00
presentext.h present: Add Present extension 2013-10-31 16:59:18 -07:00