[igt-dev] [PATCH i-g-t] tests/i915/gem_ctx_engines: Added out fence for execute-one subtest

Thomas Hellström thomas.hellstrom at linux.intel.com
Mon Feb 7 07:52:11 UTC 2022


On Sat, 2022-02-05 at 01:33 +0530, Arjun Melkaveri wrote:
> Resolved __gem_execbuf error seen, by passing spin->execbuf.rsvd2 >>
> 32.
> As we are creating ctx for each engine .
> Error resolved:-
> (gem_ctx_engines:4117) CRITICAL: Failed assertion:
> __gem_execbuf(i915, &execbuf) == expected
> (gem_ctx_engines:4117) CRITICAL: Failed to report the valid engine
> for slot 0 (valid at 0)
> 
> Introducing IGT_SPIN_FENCE_OUT means we can stop using the
> no-preemption in spinner. Added
> I915_EXEC_FENCE_IN to the execbuf.flags so that it
> is executed after the spinner.
> This is enhancement to the code .
> 
> Cc: Chris Wilson <chris.p.wilson at intel.com>
> Cc: Thomas Hellström <thomas.hellstrom at linux.intel.com>
> Signed-off-by: Arjun Melkaveri <arjun.melkaveri at intel.com>

Reviewed-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>





More information about the igt-dev mailing list