Skip to content

backends/drm: don't wait for pageflips on DrmPipeline destruction

Xaver Hugl requested to merge work/cherry-pick-87b35417 into Plasma/6.2

There's only two cases where a pipeline can be destroyed:

  • hotunplug of a display, in which case DrmGpu already waits for all pipelines to be idle
  • hotunplug of a GPU, in which case the pageflip events are safely ignored

In the latter case, it can happen that a pending pageflip event will never arrive, so it's not just unnecessary but actively harmful to wait for the pageflip event.

(cherry picked from commit 87b35417)

Co-authored-by: Xaver Hugl xaver.hugl@gmail.com

Merge request reports

Loading