kms_flip: Try to consume all fences after a flip
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 20 Jan 2014 15:57:16 +0000 (15:57 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 20 Jan 2014 20:27:42 +0000 (20:27 +0000)
commit03d144d16ffef63cedca81ccb4708b173b16868f
treee55455356d3092625edf5e7734abcfb97596824c
parentac0224f184212e8c4baa6de6fbe379c7c22f2008
kms_flip: Try to consume all fences after a flip

As a flip is outstanding, there is an issue that the kernel may not be
able to release one of the fences that userspace requires and erroneous
report EDEADLK (on gen2, gen3).

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=73696
tests/kms_flip.c