summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2020-05-15 08:15:20 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2020-05-15 16:22:58 +0100
commit3996584aa3fad5dd7a52cb90bb3cda87f645addf (patch)
tree094ae0851f276a0db850caa30354f962d2bb61b8 /tests
parentfba15b26ddaeeb3dd908fbf21bc7adb750d3f39d (diff)
kms_flip: Trim test durations for basic subtests [BAT]
Reduce the target runtime for the individual subtests as each may be repeated multiple times accumulating a substantial fraction of the BAT runtime. A 100 flips or so should be as good an indicator of basic driver health as a few thousand, with the stress testing coming in the non-basic testing. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Acked-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/kms_flip.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/kms_flip.c b/tests/kms_flip.c
index 199b6eb4..46bfc585 100755
--- a/tests/kms_flip.c
+++ b/tests/kms_flip.c
@@ -1581,22 +1581,22 @@ igt_main
"absolute-wf_vblank" },
{ 30, TEST_VBLANK | TEST_VBLANK_BLOCK | TEST_VBLANK_ABSOLUTE,
"blocking-absolute-wf_vblank" },
- { 10, TEST_FLIP | TEST_BASIC, "plain-flip" },
+ { 2, TEST_FLIP | TEST_BASIC, "plain-flip" },
{ 1, TEST_FLIP | TEST_EBUSY, "busy-flip" },
{ 30, TEST_FLIP | TEST_FENCE_STRESS , "flip-vs-fences" },
{ 30, TEST_FLIP | TEST_CHECK_TS, "plain-flip-ts-check" },
{ 30, TEST_FLIP | TEST_CHECK_TS | TEST_FB_RECREATE,
"plain-flip-fb-recreate" },
{ 30, TEST_FLIP | TEST_RMFB | TEST_MODESET , "flip-vs-rmfb" },
- { 20, TEST_FLIP | TEST_DPMS | TEST_EINVAL | TEST_BASIC, "flip-vs-dpms" },
+ { 2, TEST_FLIP | TEST_DPMS | TEST_EINVAL | TEST_BASIC, "flip-vs-dpms" },
{ 30, TEST_FLIP | TEST_PAN, "flip-vs-panning" },
- { 20, TEST_FLIP | TEST_MODESET | TEST_EINVAL | TEST_BASIC, "flip-vs-modeset" },
+ { 2, TEST_FLIP | TEST_MODESET | TEST_EINVAL | TEST_BASIC, "flip-vs-modeset" },
{ 30, TEST_FLIP | TEST_VBLANK_EXPIRED_SEQ,
"flip-vs-expired-vblank" },
{ 30, TEST_FLIP | TEST_VBLANK | TEST_VBLANK_ABSOLUTE |
TEST_CHECK_TS, "flip-vs-absolute-wf_vblank" },
- { 10, TEST_FLIP | TEST_VBLANK | TEST_CHECK_TS | TEST_BASIC,
+ { 2, TEST_FLIP | TEST_VBLANK | TEST_CHECK_TS | TEST_BASIC,
"flip-vs-wf_vblank" },
{ 30, TEST_FLIP | TEST_VBLANK | TEST_VBLANK_BLOCK |
TEST_CHECK_TS, "flip-vs-blocking-wf-vblank" },