drm/i915/selftests: Move local mock_ggtt allocations to the heap
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 17 Feb 2019 20:25:18 +0000 (20:25 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 17 Feb 2019 21:07:46 +0000 (21:07 +0000)
commit83e3a21530d60e1c16afe6de5b8bc56e4f672b75
tree9aba3d36aa91a28cc57b4748d1cf2145486b5c53
parent2a4a2754039594c60b58b02b6781428a85f6d745
drm/i915/selftests: Move local mock_ggtt allocations to the heap

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@chris-wilson.co.uk>
Cc: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190217202518.24730-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/i915_gem_gtt.c
drivers/gpu/drm/i915/selftests/i915_vma.c