[PATCH] drm/i915/selftest/mmap_migrate: wait for clear memory

Chris Wilson chris.p.wilson at linux.intel.com
Sat Apr 12 14:54:14 UTC 2025


Quoting Mikolaj Wasiak (2025-04-11 12:48:16)
> Mmap_migrate test runs multiple times filling GPU memory
> with objects. Those objects are deleted after each run
> but cleaning pages takes some time after the objects are
> put. This patch lets tests to wait for cleanup after previous test
> if they need to allocate whole memory with new objects.

That's a fundamental bug if pages are available on the system but not
being allocated [just because they are currently being freed]. That
breaks the understanding that clients can allocate any and all local
memory.
-Chris


More information about the Intel-gfx mailing list