Skip to content

backend-drm: add error handle for zero timestamp

yin xiangxu requested to merge xiangxuy/weston:main into main

before vblank enabled with drmWaitVBlank in drm_output_start_repaint_loop, there is only zero timestamp notified in atomic_flip_handler with kernel 5.15. then weston_output_repaint will drop into endless loop with REPAINT_AWAITING_COMPLETION. check zero timestamp and update to newest timestamp, initial repaint can work normally.

Signed-off-by: xiangxuy quic_xiangxuy@quicinc.com

Merge request reports