On 2/19/26 17:02, Michel Dänzer wrote:
"If vblank is disabled by the off-delay timer before the handler runs, the PENDING cursor event is never delivered" indicates otherwise. If the handling was correct, the vblank interrupt should never be disabled before the handler runs.
You are correct again, calling drm_crtc_vblank_get() ensures the off-delay timer cannot disable the interrupt before handler runs. I will add a fallback to check if it fails and send the event immediately only in that case, this would prevent hangs for disabled crtcs.
Maybe? If the vblank event handler never needs to send an event for a flip.
This point would be covered with a dedicated cursor_event, the vblank handler only touches cursor_event, never acrtc->event. So the condition is met. Unless advised against it I will be moving in this direction testing this approach, and if nothing unforeseen arises send a v2 when ready.
Thanks for the guidance.
