Skip to content

Commit

Permalink
drm/i915/selftests: Tweak the default subtest runtime
Browse files Browse the repository at this point in the history
BAT is growing a little fat and CI is under pressure and needs to trim
off some redundant runtime. An easy option is to reduce the selftest
runtimes, so try halving our default subtest timeout. While this reduces
the number of iterations used, for the majority of tests that are
passing, repeat runs (with different CI_DRM) will make up the
difference -- a negative consequence though is that we may reduce the
frequency of sporadic failures. Hopefully, we have no tests that were
crucially dependent on the previous 1s timeout...

Suggested-by: Tomi Sarvela <tomi.p.sarvela@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Matthew Auld <matthew.william.auld@gmail.com>
Reviewed-by: Matthew Auld <matthew.william.auld@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191025092749.13468-1-chris@chris-wilson.co.uk
  • Loading branch information
Chris Wilson committed Oct 25, 2019
1 parent b7412c6 commit c35eb47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/i915/selftests/i915_selftest.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include "igt_flush_test.h"

struct i915_selftest i915_selftest __read_mostly = {
.timeout_ms = 1000,
.timeout_ms = 500,
};

int i915_mock_sanitycheck(void)
Expand Down

0 comments on commit c35eb47

Please sign in to comment.