[igt-dev] [PATCH i-g-t] tests/gem_exec_reloc: Cap max amount of active relocations in basic-many-active.

Maarten Lankhorst maarten.lankhorst at linux.intel.com
Thu Oct 1 09:02:34 UTC 2020


Op 16-09-2020 om 13:07 schreef Chris Wilson:
> Quoting Maarten Lankhorst (2020-09-16 11:59:32)
>> Especially with -EDEADLK handling we can add relocations many times,
>> cap the amount of relocations tested, so that we still correctly
>> test that we can fill more than PAGE_SIZE / sizeof(relocation)
>> relocations.
> This is purposefully breaking the test. Again.
> -Chris

It's not breaking the test, the test would only pass if GPU relocation chaining was implemented.
This feature is removed, so we need an upper bound on the amount of relocations, or accept that
the test may fail if the ring is full. Either solution is fine, but the test itself is currently
broken.

~Maarten



More information about the igt-dev mailing list