[igt-dev] [PATCH] [PATCH i-g-t]tests/i915/gem_exec_balancer:Resolving unpredictable tasklet delays
Arjun Melkaveri
arjun.melkaveri at intel.com
Fri Apr 17 10:58:39 UTC 2020
Increased the Sampling window to help with sporadic test failures
due to unpredicted tasklet delays.
Cc: Ursulin Tvrtko <tvrtko.ursulin at intel.com>
Signed-off-by: Arjun Melkaveri <arjun.melkaveri at intel.com>
---
tests/i915/gem_exec_balancer.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/i915/gem_exec_balancer.c b/tests/i915/gem_exec_balancer.c
index e9a893e9..aeaec77e 100644
--- a/tests/i915/gem_exec_balancer.c
+++ b/tests/i915/gem_exec_balancer.c
@@ -41,6 +41,7 @@ IGT_TEST_DESCRIPTION("Exercise in-kernel load-balancing");
#define MI_SEMAPHORE_SAD_NEQ_SDD (5 << 12)
#define INSTANCE_COUNT (1 << I915_PMU_SAMPLE_INSTANCE_BITS)
+#define NSEC_PER_MSEC (1000 * 100)
static size_t sizeof_load_balance(int count)
{
@@ -1512,7 +1513,7 @@ static void full(int i915, unsigned int flags)
close(fence);
}
- load = measure_min_load(pmu[0], count, 10000);
+ load = measure_min_load(pmu[0], count, NSEC_PER_MSEC);
igt_spin_free(i915, spin);
close(pmu[0]);
--
2.25.1
More information about the igt-dev
mailing list