]> 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)
commit415efc35704f03ddc6d6d2f7283ceea5d6a92383
tree9aba3d36aa91a28cc57b4748d1cf2145486b5c53
parent5fe9fa797cbe9ead7d59376679f451feb9b7296f
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