]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Move mock_vma to the heap to reduce stack_frame
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 25 Nov 2019 12:48:56 +0000 (12:48 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 25 Nov 2019 15:09:14 +0000 (15:09 +0000)
commit6d2629c0be1359b284af2e6e73db30672d76283d
tree2e49248b0f54b1683e5a5a7a6e8e14fb3976ffa0
parentad3299eea6aa0154bb2230ba69fbd04f5bffa665
drm/i915/selftests: Move mock_vma to the heap to reduce stack_frame

An i915_vma struct on the stack may push the frame over the limit, if
set conservatively, so move it 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/20191125124856.1761176-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/i915_gem_gtt.c