[PATCH i-g-t v2 1/2] tests/gem_mmap_offset: Split 'clear' subtest
Andi Shyti
andi.shyti at linux.intel.com
Thu Nov 28 11:56:14 UTC 2024
On Thu, Nov 28, 2024 at 12:16:35PM +0100, Janusz Krzysztofik wrote:
> Commit e25913a1a79d ("i915/gem_mmap_offset: Ignore ENOSPC error for making
> residency execbuf") not only resolved the issue of unnecessary failures on
> ENOSPC errors, but also introduced an alternative method of clearing
> memory of an object, with random selection of one of those methods on each
> iteration. The new method expects the memory to be cleared in pagefault
> handler path. Since those two methods may give different results, mixing
> them in one exercise may make the picture unclear, especially if something
> goes wrong.
>
> Add a new subtest that exercises the pagefault method exclusively.
>
> Link: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/11738
> Signed-off-by: Janusz Krzysztofik <janusz.krzysztofik at linux.intel.com>
Reviewed-by: Andi Shyti <andi.shyti at linux.intel.com>
Thanks,
Andi
More information about the Intel-gfx
mailing list