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.