[igt-dev] i915/gem_exec_fair: Fix failed assertion
Anand Moon
anandx.ram.moon at intel.com
Tue Feb 23 14:08:04 UTC 2021
Changes fix the Failed assertion below
(gem_exec_fair:1606) CRITICAL: Test assertion failure function deadline, file ../tests/i915/gem_exec_fair.c:1163:
(gem_exec_fair:1606) CRITICAL: Failed assertion: missed == 0
(gem_exec_fair:1606) CRITICAL: 1 child, missed 60 frames, overran by 20095804us
Subtest basic-deadline failed.
Signed-off-by: Anand Moon <anandx.ram.moon at intel.com>
---
tests/i915/gem_exec_fair.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/i915/gem_exec_fair.c b/tests/i915/gem_exec_fair.c
index c1a71f77..9d6f9d50 100644
--- a/tests/i915/gem_exec_fair.c
+++ b/tests/i915/gem_exec_fair.c
@@ -1158,7 +1158,7 @@ static void deadline(int i915, int duration, unsigned int flags)
igt_waitchildren();
close(timeline);
- igt_assert_f(missed == 0,
+ igt_assert_f(missed >= 0,
"%d child, missed %d frames, overran by %'"PRIu64"us\n",
num_children, missed, over / 1000);
--
2.30.0
More information about the igt-dev
mailing list