[Intel-gfx] [PATCH] drm/i915/selftests: Constrain mock_gtt tests to fit within RAM

Chris Wilson chris at chris-wilson.co.uk
Tue Jul 10 08:54:28 UTC 2018


Quoting Matthew Auld (2018-07-10 09:27:10)
> On 10 July 2018 at 09:04, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> > Be pessimistic and presume that we actually allocate every page we
> > exercise via the mock_gtt (e.g. for gvt). In which case we have to keep
> > our working case under the available physical memory to prevent oom.
> >
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> > Cc: Matthew Auld <matthew.auld at intel.com>
> Reviewed-by: Matthew Auld <matthew.auld at intel.com>

Ta, fingers crossed this stops the gvt flip-flops on mock_gtt.
-Chris


More information about the Intel-gfx mailing list