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

Matthew Auld matthew.william.auld at gmail.com
Sun Feb 17 18:40:05 UTC 2019


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?

Reviewed-by: Matthew Auld <matthew.auld at intel.com>


More information about the Intel-gfx mailing list