sna/dri: Handle TearFree vblanks whilst the pipe is off
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 10 Jan 2014 12:01:29 +0000 (12:01 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 10 Jan 2014 12:05:17 +0000 (12:05 +0000)
commitb351f4a0009ce0eddb5866bd49ac59860a44f522
treee8f87426a6816c5b6e116200ba22ba186a031d6a
parentb1694c8ea5c0f2ce1ded2ab25aecfde80da16346
sna/dri: Handle TearFree vblanks whilst the pipe is off

As an extra complication for handling TearFree is that if we attempt to
requeue a swap whilst the pipe is off, that fails. As we have recursed
from the pixmap migration path, we have to abort the blit but still send
the event back to the client so that they unblock.

Reported-by: Harald Judt <h.judt@gmx.at>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=73469
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/sna/sna_display.c
src/sna/sna_dri.c