[igt-dev] [Intel-gfx] [PATCH i-g-t] tests/i915/gem_ctx_persistence: Convert engine subtests to dynamic

Chris Wilson chris at chris-wilson.co.uk
Thu Jan 30 21:17:10 UTC 2020


Quoting Tvrtko Ursulin (2020-01-30 20:56:23)
> 
> On 30/01/2020 20:47, Chris Wilson wrote:
> > Quoting Tvrtko Ursulin (2020-01-30 20:41:24)
> > Then I had a plan to add the pathological engines[] here.
> 
> Will see later what you exactly mean.

        for_each_gem_engine(ce, __context_engines_static(ctx), it) {
                struct intel_engine_cs *engine;

                if (intel_context_set_banned(ce))
                        continue;

                engine = active_engine(ce);

That's the bit I want to try and confuse.
So 1..64xrcs0, 1...64xVirtual and make sure it kills the right active
context.

I hope I had such nastiness in mind while writing, so hopefully there's
no hole here.
-Chris


More information about the igt-dev mailing list