backends/drm: wait for the pageflip to be done with the condition variable
...instead of busy looping, which is causing several percent CPU usage in some cases
(cherry picked from commit d4a3d668)
...instead of busy looping, which is causing several percent CPU usage in some cases
(cherry picked from commit d4a3d668)