Defer vblank event handling while waiting for a pending flip

Graphics / X.Org / xf86-video-ati - Michel Dänzer [amd.com] - 17 August 2018 08:02 EDT

This is to avoid submitting more flips while we are waiting for pending ones to complete.

(Ported from amdgpu commit e52872da69ecc84dafb3355839e35b0383f0d228)

c42f6e2e Defer vblank event handling while waiting for a pending flip
src/drmmode_display.c | 18 ++++++++++++------
src/drmmode_display.h | 4 ++++
src/radeon_drm_queue.c | 41 +++++++++++++++++++++++++++++++++++++++--
src/radeon_drm_queue.h | 1 +
4 files changed, 56 insertions(+), 8 deletions(-)

Upstream: cgit.freedesktop.org


  • Share