kms_flip: Add a flip-vs-panning-vs-hang test
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 15 Feb 2013 15:10:47 +0000 (17:10 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 22 Mar 2013 11:19:57 +0000 (12:19 +0100)
The flip-vs-panning-vs-hang is just like the regular flip-vs-panning
test, except it also hangs the GPU. This will test whether panning
works after a pending page flip has been cancelled by a GPU reset,
and also whether page flip events get delivered correctly.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tests/kms_flip.c

index 37a6a0e..5d33b82 100644 (file)
@@ -1112,6 +1112,7 @@ int main(int argc, char **argv)
                { 15, TEST_FLIP | TEST_VBLANK | TEST_VBLANK_BLOCK |
                        TEST_CHECK_TS, "flip-vs-blocking-wf-vblank" },
                { 15, TEST_FLIP | TEST_MODESET | TEST_HANG | TEST_NOEVENT, "flip-vs-modeset-vs-hang" },
+               { 15, TEST_FLIP | TEST_PAN | TEST_HANG, "flip-vs-panning-vs-hang" },
        };
        int i;