Include the implicit eb.batch_len=0 into the mix of various offsets and lengths. Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> Cc: Matthew Auld <matthew.auld@xxxxxxxxx> --- tests/i915/gen9_exec_parse.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/i915/gen9_exec_parse.c b/tests/i915/gen9_exec_parse.c index 7ddb5bf2b..087d6f35f 100644 --- a/tests/i915/gen9_exec_parse.c +++ b/tests/i915/gen9_exec_parse.c @@ -628,6 +628,8 @@ static void test_bb_oversize(int i915) gem_write(i915, obj.handle, (4ull << 30) - sizeof(bbe), &bbe, sizeof(bbe)); + igt_assert_eq(__checked_execbuf(i915, &execbuf), 0); + for (int i = 13; i <= 32; i++) { igt_debug("Checking length %#llx\n", 1ull << i); @@ -638,6 +640,9 @@ static void test_bb_oversize(int i915) igt_assert_eq(__checked_execbuf(i915, &execbuf), 0); } + execbuf.batch_len = 0; + igt_assert_eq(__checked_execbuf(i915, &execbuf), 0); + gem_close(i915, obj.handle); } -- 2.28.0 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx