xf86-video-modesetting: Support new vblank kernel API [v2]

Graphics / X.Org / X.Org Server - Keith Packard [keithp.com] - 22 January 2018 22:22 UTC

drmCrtcGetSequence returns the current vblank sequence and time.

drmCrtcQueueSequence queues an event for delivery at a specified
vblank sequence.

Use these (when available) in preference to drmWaitVBlank.

v2: Remove FIRST_PIXEL_OUT_FLAG. This has been removed from the kernel API.

44d5f2eb8 xf86-video-modesetting: Support new vblank kernel API [v2]
hw/xfree86/drivers/modesetting/vblank.c | 50 ++++++++++++++++++++++++++++++++-
1 file changed, 49 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share