[Intel-gfx] [PATCH 4/9] drm/i915/selftests: Move local mock_ggtt allocations to the heap

Chris Wilson chris at chris-wilson.co.uk
Sun Feb 17 20:22:34 UTC 2019


Quoting Matthew Auld (2019-02-17 18:40:05)
> On Sun, 17 Feb 2019 at 16:13, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> >
> > This struct appears quite large and pushes our stack frame over
> > 1024 bytes -- too high for conservative setups. So move the mock_ggtt
> > struct to the heap.
> >
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> > Cc: Matthew Auld <matthew.auld at intel.com>
> 
> Missing kfree() somewhere?

Or two.
-Chris


More information about the Intel-gfx mailing list