On Sat, Feb 2, 2013 at 12:05 AM, Laurent Pinchart laurent.pinchart@ideasonboard.com wrote:
Back to the original topic: should it not work to queue a page flip and immediately exit(0) after that to test the cleanup code? I suppose if that can be tested on all drivers we should have pretty good coverage.
Maybe we need some kind of compliance test suite tool ?
kms_flip from our intel-specific testsuite is probably the most paranoid thing for testing page flips out there:
http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/tree/tests/kms_flip.c
Cheers, Daniel