[Intel-gfx] [PATCH i-g-t 2/2] tests/gem_exec_reloc: Calculate softpin offsets from batch size

2019-10-23 Thread Janusz Krzysztofik
From: Janusz Krzysztofik 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.

Re: [Intel-gfx] [PATCH i-g-t 2/2] tests/gem_exec_reloc: Calculate softpin offsets from batch size

2019-10-23 Thread Janusz Krzysztofik
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 > > > > The basic-range subtest assumes 4kB minimum batch size. On future > > backends with possibly bigger minimum batch sizes this subt

Re: [Intel-gfx] [PATCH i-g-t 2/2] tests/gem_exec_reloc: Calculate softpin offsets from batch size

2019-10-23 Thread Chris Wilson
Quoting Janusz Krzysztofik (2019-10-23 10:07:52) > From: Janusz Krzysztofik > > 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 ne