[Intel-gfx] [PATCH i-g-t] kms_rotation_crc: 90 degree flip test is not a stress test

Tvrtko Ursulin tursulin at ursulin.net
Thu Aug 3 12:42:50 UTC 2017


From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>

To the best of my recollection the page flipping test was added
simply to start exercising page flips with 90/270 rotation.

There is no need to do 60 flips which can take quite some time
because we test each pipe and then each fb geometry. And
calling this a stress test is also not matching the original
idea of the test.

So remove the stress from the name and reduce the number of
flips to three only.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
---
 tests/intel-ci/extended.testlist | 2 +-
 tests/kms_rotation_crc.c         | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/intel-ci/extended.testlist b/tests/intel-ci/extended.testlist
index 17eed013f810..fb71091758c6 100644
--- a/tests/intel-ci/extended.testlist
+++ b/tests/intel-ci/extended.testlist
@@ -82,7 +82,7 @@ igt at gem_ringfill@vebox-bomb
 igt at gem_userptr_blits@stress-mm
 igt at gem_userptr_blits@stress-mm-invalidate-close
 igt at gem_userptr_blits@stress-mm-invalidate-close-overlap
-igt at kms_rotation_crc@primary-rotation-90-flip-stress
+igt at kms_rotation_crc@primary-rotation-90-flip
 igt at pm_rpm@gem-execbuf-stress
 igt at pm_rpm@gem-execbuf-stress-extra-wait
 igt at pm_rpm@gem-execbuf-stress-pc8
diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
index 83e37f126f40..a04a2e68547d 100644
--- a/tests/kms_rotation_crc.c
+++ b/tests/kms_rotation_crc.c
@@ -650,10 +650,10 @@ igt_main
 		test_plane_rotation(&data, DRM_PLANE_TYPE_PRIMARY);
 	}
 
-	igt_subtest_f("primary-rotation-90-flip-stress") {
+	igt_subtest_f("primary-rotation-90-flip") {
 		igt_require(gen >= 9);
 		data.override_tiling = 0;
-		data.flip_stress = 60;
+		data.flip_stress = 3;
 		data.rotation = IGT_ROTATION_90;
 		test_plane_rotation(&data, DRM_PLANE_TYPE_PRIMARY);
 	}
-- 
2.9.4



More information about the Intel-gfx mailing list