Set atomic_complete_pending as false at the time of disconnect

Pritama Biswas requested to merge pritamabiswas/weston:main into main

If atomic_complete_pending is true at the time of disconnect, display is not coming up if I reconnect the display.

I am seeing the following logs in weston at the time of disconnect:

destroy output while page flip pending

Output 'DP-32' no heads left, disabling.

background surface gone

panel surface gone

After this, I can see that display is not up after multiple hotplugs.

If we set atomic_complete_pending to false, disconnect is happening properly. After monitor is connected back, new atomic commits are received and weston screen is coming up.

Merge request reports