From: Janusz Krzysztofik <janusz.krzysztofik@linux.intel.com> To: Chris Wilson <chris@chris-wilson.co.uk> Cc: intel-gfx@lists.freedesktop.org, igt-dev@lists.freedesktop.org Subject: Re: [PATCH i-g-t 2/2] tests/gem_exec_reloc: Calculate softpin offsets from batch size Date: Wed, 23 Oct 2019 11:16:10 +0200 [thread overview] Message-ID: <22796348.fPr5VZe4nD@jkrzyszt-desk.ger.corp.intel.com> (raw) In-Reply-To: <157182198261.11484.17059885516266928115@skylake-alporthouse-com> Hi Chris, On Wednesday, October 23, 2019 11:13:02 AM CEST Chris Wilson wrote: > Quoting Janusz Krzysztofik (2019-10-23 10:07:52) > > From: Janusz Krzysztofik <janusz.krzysztofik@intel.com> > > > > The basic-range subtest assumes 4kB minimum batch size. On future > > backends with possibly bigger minimum batch sizes this subtest will > > fail as buffer objects may overlap. To avoid object overlapping, > > offsets need to be calculated with actual minimum batch size in mind. > > > > Replace hardcoded constants corresponding to the assumed 4kB minimum > > batch size with values calculated from a variable supposed to represent > > actual batch size. For now, the variable is still initialized with the > > 4kB value, suitable for backends currently supported by IGT. > > You could do this entirely within the reloc API, no? By probing whether > a 4KiB offset is legal? Thanks for the hint, I'll try to take this path. Janusz > -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: Janusz Krzysztofik <janusz.krzysztofik@linux.intel.com> To: Chris Wilson <chris@chris-wilson.co.uk> Cc: intel-gfx@lists.freedesktop.org, igt-dev@lists.freedesktop.org Subject: Re: [Intel-gfx] [PATCH i-g-t 2/2] tests/gem_exec_reloc: Calculate softpin offsets from batch size Date: Wed, 23 Oct 2019 11:16:10 +0200 [thread overview] Message-ID: <22796348.fPr5VZe4nD@jkrzyszt-desk.ger.corp.intel.com> (raw) Message-ID: <20191023091610.rmMkLJGgKjVksuEIevhZD_rL--9IckY2l46SzyMJ0Go@z> (raw) In-Reply-To: <157182198261.11484.17059885516266928115@skylake-alporthouse-com> Hi Chris, On Wednesday, October 23, 2019 11:13:02 AM CEST Chris Wilson wrote: > Quoting Janusz Krzysztofik (2019-10-23 10:07:52) > > From: Janusz Krzysztofik <janusz.krzysztofik@intel.com> > > > > The basic-range subtest assumes 4kB minimum batch size. On future > > backends with possibly bigger minimum batch sizes this subtest will > > fail as buffer objects may overlap. To avoid object overlapping, > > offsets need to be calculated with actual minimum batch size in mind. > > > > Replace hardcoded constants corresponding to the assumed 4kB minimum > > batch size with values calculated from a variable supposed to represent > > actual batch size. For now, the variable is still initialized with the > > 4kB value, suitable for backends currently supported by IGT. > > You could do this entirely within the reloc API, no? By probing whether > a 4KiB offset is legal? Thanks for the hint, I'll try to take this path. Janusz > -Chris > _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2019-10-23 9:16 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-10-23 9:07 [PATCH i-g-t 1/2] tests/gem_exec_reloc: Don't filter out addresses when on PPGTT Janusz Krzysztofik 2019-10-23 9:07 ` [Intel-gfx] " Janusz Krzysztofik 2019-10-23 9:07 ` [PATCH i-g-t 2/2] tests/gem_exec_reloc: Calculate softpin offsets from batch size Janusz Krzysztofik 2019-10-23 9:07 ` [Intel-gfx] " Janusz Krzysztofik 2019-10-23 9:13 ` Chris Wilson 2019-10-23 9:13 ` [Intel-gfx] " Chris Wilson 2019-10-23 9:16 ` Janusz Krzysztofik [this message] 2019-10-23 9:16 ` Janusz Krzysztofik 2019-10-23 9:11 ` [PATCH i-g-t 1/2] tests/gem_exec_reloc: Don't filter out addresses when on PPGTT Chris Wilson 2019-10-23 9:11 ` [igt-dev] " Chris Wilson 2019-10-23 9:11 ` [Intel-gfx] " Chris Wilson 2019-10-23 9:18 ` Janusz Krzysztofik 2019-10-23 9:18 ` [Intel-gfx] " Janusz Krzysztofik 2019-10-23 10:39 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/2] " Patchwork
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=22796348.fPr5VZe4nD@jkrzyszt-desk.ger.corp.intel.com \ --to=janusz.krzysztofik@linux.intel.com \ --cc=chris@chris-wilson.co.uk \ --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.