kms_flip: Exercise flip-vs-render
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 29 Aug 2013 14:11:47 +0000 (15:11 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 29 Aug 2013 15:19:41 +0000 (16:19 +0100)
commitd0ed91210795e75847b3a3da6b48b1179ff53ede
tree2a059a0579fed29630e9a3e9562ab54310ff6478
parent59f134450d25ba5a3cdf2dbf945e3fb06322874b
kms_flip: Exercise flip-vs-render

For machine with split BCS/RCS rings, we also need to test whether we
correctly wait upon outstanding render work before flipping and changing
modes. This should also serve to exercise the ring selection code for
flips.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
lib/drmtest.c
lib/drmtest.h
lib/rendercopy.h
tests/kms_flip.c