[Intel-gfx] [PATCH i-g-t v2] tests/kms_flip: Add test to check suspend/resume

Shayenne Moura shayenneluzmoura at gmail.com
Tue Jan 22 20:54:05 UTC 2019


This patch adds one test to evaluate suspend/resume operations using kms_flip.

Signed-off-by: Shayenne Moura <shayenneluzmoura at gmail.com>

v2: Reduce test time to 10 (Daniel)
---
 tests/kms_flip.c | 1 +
 1 file changed, 1 insertion(+)
 mode change 100644 => 100755 tests/kms_flip.c

diff --git a/tests/kms_flip.c b/tests/kms_flip.c
old mode 100644
new mode 100755
index f28272dd..3c29f47a
--- a/tests/kms_flip.c
+++ b/tests/kms_flip.c
@@ -1567,6 +1567,7 @@ int main(int argc, char **argv)
 		{ 10, TEST_DPMS_OFF | TEST_DPMS | TEST_VBLANK_RACE, "dpms-vs-vblank-race" },
 		{ 10, TEST_MODESET | TEST_VBLANK_RACE, "modeset-vs-vblank-race" },
 		{ 0, TEST_BO_TOOBIG | TEST_NO_2X_OUTPUT, "bo-too-big" },
+		{ 10, TEST_FLIP | TEST_SUSPEND, "flip-vs-suspend" },
 	};
 	int i;
 
-- 
2.17.1



More information about the Intel-gfx mailing list