Re: [PATCH i-g-t v2 2/2] tests/gem_mmap_offset: Fix OOM hits

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

 



Hi Janusz,

On Thu, Nov 28, 2024 at 12:16:36PM +0100, Janusz Krzysztofik wrote:
> The 'clear' subtest exercises correctness of object memory clearing on
> passing a batch with the object to GPU for processing.  The exercise is
> executed in several parallel threads, one per CPU.  Each thread repeats
> the exercise in a time only limited loop, with no delay between
> consecutive iterations.  In case of system memory objects, that happens
> to exhaust all available physical memory, which is neither the goal nor
> requirement of the exercise.
> 
> Make sure sufficient amount of physical memory is available before calling
> another execbuf.
> 
> v2: Limit the scope of the fix to SMEM exercise.
> 
> Closes: 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