From: Chris Wilson <chris@chris-wilson.co.uk> To: Andi Shyti <andi@etezian.org> Cc: igt-dev@lists.freedesktop.org, intel-gfx@lists.freedesktop.org Subject: Re: [Intel-gfx] [PATCH i-g-t] Revert "tests/i915: Use engine query interface for gem_ctx_isolation/persistence" Date: Sat, 07 Dec 2019 17:46:31 +0000 [thread overview] Message-ID: <157574079170.2300.6327103910530104961@skylake-alporthouse-com> (raw) In-Reply-To: <20191207174239.GC1300@jack.zhora.eu> Quoting Andi Shyti (2019-12-07 17:42:39) > Hi Chris, > > On Sat, Dec 07, 2019 at 01:08:35AM +0000, Chris Wilson wrote: > > This reverts commit 343aae776a58a67fa153825385e6fe90e3185c5b. > > > > __for_each_physical_engine() reprograms the context, invalidating the > > use of e->flags to select engines, necessitating e->index instead. > > Withot also fixing up the engine selection, the result is that random > > engines were being used to read registers from the intended engine. > > This does not end well. > > So, the problem here is that with __for_each_physical_engine() we > "reprogram the context" which means that there is a re-mapping of > engines in it. Have I understood correctly? > > Doesn't that happen only in the case when the context has no > engines in it? iirc, it does something like init_engine_map and sets a consistent engine layout on the context -- but switches execbuf over to index mode. > > @@ -877,7 +876,8 @@ igt_main > > igt_skip_on(gen > LAST_KNOWN_GEN); > > } > > > > - __for_each_physical_engine(fd, e) { > > + for (const struct intel_execution_engine2 *e = intel_execution_engines2; > > + e->name; e++) { > > __for_each_static_engine() ? I'm just doing a simple revert so we can try again :) -Chris _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx
WARNING: multiple messages have this Message-ID (diff)
From: Chris Wilson <chris@chris-wilson.co.uk> To: Andi Shyti <andi@etezian.org> Cc: igt-dev@lists.freedesktop.org, intel-gfx@lists.freedesktop.org Subject: Re: [igt-dev] [Intel-gfx] [PATCH i-g-t] Revert "tests/i915: Use engine query interface for gem_ctx_isolation/persistence" Date: Sat, 07 Dec 2019 17:46:31 +0000 [thread overview] Message-ID: <157574079170.2300.6327103910530104961@skylake-alporthouse-com> (raw) In-Reply-To: <20191207174239.GC1300@jack.zhora.eu> Quoting Andi Shyti (2019-12-07 17:42:39) > Hi Chris, > > On Sat, Dec 07, 2019 at 01:08:35AM +0000, Chris Wilson wrote: > > This reverts commit 343aae776a58a67fa153825385e6fe90e3185c5b. > > > > __for_each_physical_engine() reprograms the context, invalidating the > > use of e->flags to select engines, necessitating e->index instead. > > Withot also fixing up the engine selection, the result is that random > > engines were being used to read registers from the intended engine. > > This does not end well. > > So, the problem here is that with __for_each_physical_engine() we > "reprogram the context" which means that there is a re-mapping of > engines in it. Have I understood correctly? > > Doesn't that happen only in the case when the context has no > engines in it? iirc, it does something like init_engine_map and sets a consistent engine layout on the context -- but switches execbuf over to index mode. > > @@ -877,7 +876,8 @@ igt_main > > igt_skip_on(gen > LAST_KNOWN_GEN); > > } > > > > - __for_each_physical_engine(fd, e) { > > + for (const struct intel_execution_engine2 *e = intel_execution_engines2; > > + e->name; e++) { > > __for_each_static_engine() ? I'm just doing a simple revert so we can try again :) -Chris _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev
next prev parent reply other threads:[~2019-12-07 17:46 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-12-07 1:08 [Intel-gfx] [PATCH i-g-t] Revert "tests/i915: Use engine query interface for gem_ctx_isolation/persistence" Chris Wilson 2019-12-07 1:08 ` [igt-dev] " Chris Wilson 2019-12-07 1:45 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork 2019-12-07 15:24 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork 2019-12-07 17:42 ` [Intel-gfx] [PATCH i-g-t] " Andi Shyti 2019-12-07 17:43 ` Andi Shyti 2019-12-07 17:43 ` [igt-dev] " Andi Shyti 2019-12-07 17:46 ` Chris Wilson [this message] 2019-12-07 17:46 ` Chris Wilson 2019-12-09 9:25 ` [Intel-gfx] [igt-dev] " Tvrtko Ursulin 2019-12-09 9:25 ` Tvrtko Ursulin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=157574079170.2300.6327103910530104961@skylake-alporthouse-com \ --to=chris@chris-wilson.co.uk \ --cc=andi@etezian.org \ --cc=igt-dev@lists.freedesktop.org \ --cc=intel-gfx@lists.freedesktop.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.