kmsflip.c From Intel. KMS flip testing program http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/plain/tests/kms_flip.c