Re: [PATCH i-g-t v2 1/2] tests/gem_mmap_offset: Split 'clear' subtest

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx>

Reviewed-by: Andi Shyti <andi.shyti@xxxxxxxxxxxxxxx>

Thanks,
Andi



[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux