[Intel-gfx] [PATCH i-g-t 2/2] kms_flip: Add a flip-vs-panning-vs-hang test

ville.syrjala at linux.intel.com ville.syrjala at linux.intel.com
Fri Feb 15 16:10:47 CET 2013


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

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 at linux.intel.com>
---
 tests/kms_flip.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/kms_flip.c b/tests/kms_flip.c
index a42bf97..9571dbd 100644
--- a/tests/kms_flip.c
+++ b/tests/kms_flip.c
@@ -1110,6 +1110,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;
 
-- 
1.7.12.4




More information about the Intel-gfx mailing list