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

2019-11-01 Thread Chris Wilson
Quoting Janusz Krzysztofik (2019-10-31 15:28:56) > The basic-range subtest assumes 4kB GTT 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. >

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

2019-10-31 Thread Janusz Krzysztofik
The basic-range subtest assumes 4kB GTT 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