Re: [Intel-gfx] [PATCH i-g-t v5 3/4] tests/gem_exec_reloc: Calculate offsets from minimum GTT alignment

2019-11-04 Thread Vanshidhar Konda
On Mon, Nov 04, 2019 at 06:13:29PM +0100, Janusz Krzysztofik wrote: The basic-range subtest assumes 4kB alignment while calculating softpin offsets. On future backends with possibly larger minimum page sizes the test will fail as a half of calculated offsets to be tested will be incorrectly

[Intel-gfx] [PATCH i-g-t v5 3/4] tests/gem_exec_reloc: Calculate offsets from minimum GTT alignment

2019-11-04 Thread Janusz Krzysztofik
The basic-range subtest assumes 4kB alignment while calculating softpin offsets. On future backends with possibly larger minimum page sizes the test will fail as a half of calculated offsets to be tested will be incorrectly aligned. Replace hardcoded constants corresponding to the assumed 4kB