]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf55dd0f99eb4fc50de6c0f20ed6cc8f5caa5b3f9
tree9aba3d36aa91a28cc57b4748d1cf2145486b5c53
parentefa33d78ff4007db1e6c4fa61553f1d9c496d30b
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