Following on from the previous attempt is the realisation that we can simply disable TearFree during a Present flip queue, and re-enable TearFree upon unflip.
74553bf sna/present: Integrate into TearFree, take 2
src/sna/sna.h | 8 +--
src/sna/sna_display.c | 33 +----------
src/sna/sna_present.c | 149 ++++++-------------------------------------------
3 files changed, 20 insertions(+), 170 deletions(-)
Upstream: cgit.freedesktop.org