sna: Discard pending wait_for_shadow updates before the TearFree flip
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 19 Jan 2014 12:52:20 +0000 (12:52 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 19 Jan 2014 12:52:20 +0000 (12:52 +0000)
commitd7f753ba89c928f141f1feb750733f53130c3bfb
treeb527a028b2251904cd7788c8b26d2c41164b1879
parent498fcb001358af8f15bd129f8d1edf2530edf412
sna: Discard pending wait_for_shadow updates before the TearFree flip

Rather than just assert that we have used the pending update in
wait_for_shadow, discard it first.

Reported-by: Joe Peterson <joe@wildlava.com>
References: https://bugs.freedesktop.org/show_bug.cgi?id=70905
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/sna/sna_display.c