[igt-dev] [PATCH i-g-t v2] tests/i915/gem_lmem_swapping: Add the gem_lmem_swapping test

Thomas Hellström thomas.hellstrom at linux.intel.com
Thu Aug 19 07:00:33 UTC 2021


On Wed, 2021-08-18 at 15:51 +0000, Tang, CQ wrote:
> 
> 
> > -----Original Message-----
> > From: Thomas Hellström <thomas.hellstrom at linux.intel.com>
> > Sent: Wednesday, August 18, 2021 7:07 AM
> > To: igt-dev at lists.freedesktop.org
> > Cc: Tang, CQ <cq.tang at intel.com>; Tvrtko Ursulin
> > <tvrtko.ursulin at linux.intel.com>; Dixit, Ashutosh
> > <ashutosh.dixit at intel.com>; Thomas Hellström
> > <thomas.hellstrom at linux.intel.com>; Chris Wilson
> > <chris at chris-wilson.co.uk>
> > Subject: [PATCH i-g-t v2] tests/i915/gem_lmem_swapping: Add the
> > gem_lmem_swapping test
> > 
> > From: CQ Tang <cq.tang at intel.com>
> > 
> > This test exercises the lmem eviction functionality with one
> > dynamic subtest
> > per lmem region.
> > 
> > In essence the various subtests create lmem buffers objects
> > consuming
> > more lmem memory than available and check that they are successful
> > submitting workload subsets whose lmem size requirements are
> > smaller
> > than the total amount of lmem available, forcing eviction of buffer
> > objects
> > under various conditions.
> 
> I see this is not the latest code version. I made modification
> yesterday to further reduce the testing runtime. There are other
> differences as well.
> Is this intended?

Yes, there have been some recent changes lately. The code sent upstream
is currently intended only for DG1, and does not have some of the speed
adjustment needed for newer hardware and some code used to adjust the
number of loops for the workload to be similar across most tests on
DG1, where no test typically runs for longer than 20-30s. The code is
also completely adapted to the new uapi changes.

/Thomas




More information about the igt-dev mailing list