Skip to content

linux-drm-syncobj-v1: Skip release if there is no timeline

Kenny Levinsen requested to merge kennylevinsen/wlroots:syncobjguard2 into master

If a surface with an existing buffer has a syncobj surface state created without committing a new buffer with associated timelines, callers will see the surface as having a syncobj state and may try to use it, but calling the signal_release_with_buffer helper at this time will assert on the lacking release timeline.

As this is a valid situation, remove the assert and replace it with an early return so that callers do not need to explicitly check for the presence of valid timelines.

Fixes: #3895 (closed)

Supersedes: !4822 (closed)

cc @vyivel

Merge request reports