Skip to content

present/wnmd: Relax assertion on CRTC on abort_vblank()

Olivier Fourdan requested to merge ofourdan/xserver:wnmd-abort-vblank into master

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().

Closes: #937 (closed)

Edited by Olivier Fourdan

Merge request reports