Skip to content

backends/drm: fix an edge case for DrmGpu::waitIdle

Xaver Hugl requested to merge work/zamundaaa/waitIdle into master

Polling for drm events works for waiting on pageflip events, but if there's commits scheduled for future submission, and that fails, no pageflip will ever arrive. To fix that, this commit ensures all commits are submitted to the kernel before polling for pageflip events.

BUG: 492167

Merge request reports