Note, the kernel already sends synthetic page-flip events when a CRTC goes from on → off. I think it would make sense to do the same for all pending page-flips before the device is destroyed in the kernel.
- Handling pageflip timeouts Xaver Hugl
- Re: Handling pageflip timeouts Pekka Paalanen
- Re: Handling pageflip timeouts Simon Ser